Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 1,224 for equal (0.02 sec)

  1. android/guava/src/com/google/common/base/Suppliers.java

        public T get() {
          return function.apply(supplier.get());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof SupplierComposition) {
            SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj;
            return function.equals(that.function) && supplier.equals(that.supplier);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

            boolean found = false;
            for (Iterator<Plugin> i = plugins.iterator(); i.hasNext() && !found; ) {
                Plugin plugin = i.next();
                if (plugin.getPrefix().equals(goalPrefix)) {
                    found = true;
                }
            }
            if (!found) {
                Plugin plugin = new Plugin();
                plugin.setPrefix(goalPrefix);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/PairwiseEquivalence.java

        }
        return hash;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof PairwiseEquivalence) {
          @SuppressWarnings("unchecked")
          PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj;
          return this.elementEquivalence.equals(that.elementEquivalence);
        }
    
        return false;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Enums.java

        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) obj;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            return guid.toString();
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null || getClass() != obj.getClass())
                return false;
            HandleGuid that = (HandleGuid) obj;
            return guid.equals(that.guid);
        }
    
        @Override
        public int hashCode() {
            return guid.hashCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                    assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
                            || path.startsWith("META-INF/") || path.equals("LICENSE-junit.txt"), is(true));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SmbFileHandleImpl o)) {
                return false;
            }
            if (this.fileId != null) {
                return Arrays.equals(this.fileId, o.fileId) && this.tree_num == o.tree_num;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/TreeRangeSet.java

            }
          };
        }
    
        @Override
        public int size() {
          if (upperBoundWindow.equals(Range.all())) {
            return rangesByLowerBound.size();
          }
          return Iterators.size(entryIterator());
        }
    
        @Override
        public boolean isEmpty() {
          return upperBoundWindow.equals(Range.all())
              ? rangesByLowerBound.isEmpty()
              : !entryIterator().hasNext();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
          }
        }
        expectContents(expected);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top