Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 693 for hashcode (0.05 seconds)

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

        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        int hashCode = 1;
        int n = size();
        for (int i = 0; i < n; i++) {
          hashCode = 31 * hashCode + get(i).hashCode();
    
          hashCode = ~~hashCode;
          // needed to deal with GWT integer overflow
        }
        return hashCode;
      }
    
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      @SuppressWarnings("UndefinedEquals")
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ForwardingMultimap.java

      @SuppressWarnings("UndefinedEquals")
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Synchronized.java

          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return delegate().equals(o);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
            return delegate().hashCode();
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            int hash;
            try {
                hash = getAddress().hashCode();
            } catch (final CIFSException uhe) {
                hash = getServer().toUpperCase().hashCode();
            }
            return hash + getURLPath().toUpperCase().hashCode();
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java

            return major == version.major
                && minor == version.minor
                && revision == version.revision
                && Objects.equals(qualifier, version.qualifier);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(major, minor, revision, qualifier);
        }
    
        public int getMajor() {
            return major;
        }
    
        public int getMinor() {
            return minor;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
          return Integer.compare(hash, that.hash);
        }
    
        @Override
        public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().values();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return (obj == this) || delegate().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  public int hashCode() {
                    return runnable.hashCode();
                  }
                });
      }
    
      public void testFailsToForwardEquals() {
        tester.includingEquals();
        assertFailure(
            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
                  @Override
                  public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/DummyProxy.java

              checkNotNull(args[i]);
            }
          }
          return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top