Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,228 for Equals (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

            sorted = new LinkedList<>();
            fmt = req.getParameter("fmt");
            if (fmt == null) {
                fmt = "col";
            }
            sort = 0;
            if ((str = req.getParameter("sort")) == null || str.equals("name")) {
                sort = 0;
            } else if (str != null) {
                switch (str) {
                case "size":
                    sort = 1;
                    break;
                case "type":
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        int dataLength() {
          return data.length();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof LockFreeBitArray) {
            LockFreeBitArray lockFreeBitArray = (LockFreeBitArray) o;
            // TODO(lowasser): avoid allocation here
            return Arrays.equals(toPlainArray(data), toPlainArray(lockFreeBitArray.data));
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        public OptionalEntity<DictionaryFile<? extends DictionaryItem>> getDictionaryFile(final String id) {
            for (final DictionaryFile<? extends DictionaryItem> dictFile : getDictionaryFiles()) {
                if (dictFile.getId().equals(id)) {
                    return OptionalEntity.of(dictFile);
                }
            }
            return OptionalEntity.empty();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act
            boolean result = handle.hasCapability(cap);
    
            // Assert: verify return and the captured argument equals input
            assertTrue(result);
            ArgumentCaptor<Integer> captor = ArgumentCaptor.forClass(Integer.class);
            verify(handle, times(1)).hasCapability(captor.capture());
            assertEquals(cap, captor.getValue());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

            try (SmbTreeImpl t = getTree()) {
                if (t != null) {
                    if (log.isDebugEnabled()) {
                        log.debug("Tree is " + t);
                    }
    
                    if (Objects.equals(loc.getShare(), t.getShare())) {
                        try (SmbSessionImpl session = t.getSession()) {
                            targetDomain = session.getTargetDomain();
                            if (!session.isFailed()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testClearUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> multimap().clear());
      }
    
      // Empty multimaps *do* have defined equals semantics.
      @SuppressWarnings("UndefinedEquals")
      private void assertCleared() {
        assertEquals(0, multimap().size());
        assertEmpty(multimap());
        assertEquals(multimap(), getSubjectGenerator().create());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

            hash = hash * 31 + (userLocalArtifactRepository == null ? 0 : userLocalArtifactRepository.hashCode());
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

     * <p>
     * This extensible enum has two defined values, {@link #NONE} and {@link #JAVA_FAMILY},
     * but can be extended by registering a {@code org.apache.maven.api.spi.LanguageProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 12:22:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                    }
                }
    
                @Override
                public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
                    if (Paths.get("target").equals(dir)) {
                        return FileVisitResult.CONTINUE;
                    } else {
                        return FileVisitResult.SKIP_SUBTREE;
                    }
                }
            });
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top