Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,801 for equals (0.08 seconds)

  1. android/guava/src/com/google/common/collect/LexicographicalOrdering.java

        }
        return 0;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof LexicographicalOrdering) {
          LexicographicalOrdering<?> that = (LexicographicalOrdering<?>) object;
          return this.elementOrder.equals(that.elementOrder);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/LexicographicalOrdering.java

        }
        return 0;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof LexicographicalOrdering) {
          LexicographicalOrdering<?> that = (LexicographicalOrdering<?>) object;
          return this.elementOrder.equals(that.elementOrder);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. 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;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  4. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof UnhashableObject) {
          UnhashableObject that = (UnhashableObject) object;
          return this.value == that.value;
        }
        return false;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 10 20:12:40 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                String anchor = (link != null) ? link.attr("id") : "";
                if(!name.startsWith("Table") && tag.equals("h2")){
                    toc.append("<li class=\"mainTopic\"><a/></li>").children().last().select("a").first().text(name).attr("href", "#" + anchor);
                } else if(!name.startsWith("Table") && tag.equals("h3")){
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 03 01:59:51 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
          CollectorTester<T, A, R> of(Collector<T, A, R> collector) {
        return of(collector, Objects::equals);
      }
    
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java

        public ConfigurationConverter lookupConverterForType(Class<?> type) throws ComponentConfigurationException {
            ConfigurationConverter converter = delegate.lookupConverterForType(type);
            return converter.getClass().equals(ObjectWithFieldsConverter.class)
                    ? new EnhancedConfigurationConverter()
                    : converter;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

          System.out.println("Response 2 network response:  " + response2.networkResponse());
        }
    
        System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body));
      }
    
      public static void main(String... args) throws Exception {
        new CacheResponse(new File("CacheResponse.tmp")).run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeImplTest.java

        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
            SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl tree2 = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl tree3 = new SmbTreeImpl(session, "OTHER", "A:");
            assertEquals(tree1, tree2);
            assertFalse(tree1.equals(tree3));
        }
    
        // Test case for the unwrap method
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractMultimap.java

      @WeakOuter
      final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return Sets.equalsImpl(this, obj);
        }
      }
    
      abstract Iterator<Entry<K, V>> entryIterator();
    
      @LazyInit private transient @Nullable Set<K> keySet;
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top