Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 484 for hashCode (0.06 seconds)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
          BloomFilter<String> bf = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

            Signature that = (Signature) obj;
            return name.equals(that.name) && parameterTypes.equals(that.parameterTypes);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(name, parameterTypes);
        }
      }
    
      /**
       * Verifies that {@code invokable} produces a {@link NullPointerException} or {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          return interfaceMethodCalled(interfaceType, method);
        }
    
        @Override
        public int hashCode() {
          return identity;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FreshInvocationHandler) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("foo", e.getKey());
        assertEquals(1, (int) e.getValue());
        assertThrows(UnsupportedOperationException.class, () -> e.setValue(2));
        assertEquals("foo=1", e.toString());
        assertEquals(101575, e.hashCode());
      }
    
      public void testImmutableEntryNull() {
        Entry<@Nullable String, @Nullable Integer> e = immutableEntry((String) null, (Integer) null);
        assertThat(e.getKey()).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            Signature that = (Signature) obj;
            return name.equals(that.name) && parameterTypes.equals(that.parameterTypes);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(name, parameterTypes);
        }
      }
    
      /**
       * Verifies that {@code invokable} produces a {@link NullPointerException} or {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

       */
      static final class TypeVariableKey {
        private final TypeVariable<?> var;
    
        TypeVariableKey(TypeVariable<?> var) {
          this.var = checkNotNull(var);
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(var.getGenericDeclaration(), var.getName());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof TypeVariableKey) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        future.set(
            new Object() {
              @Override
              public String toString() {
                throw new OutOfMemoryError();
              }
    
              @Override
              public int hashCode() {
                throw new OutOfMemoryError();
              }
            });
    
        String unused = future.toString();
    
        SettableFuture<Object> future2 = SettableFuture.create();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          return interfaceMethodCalled(interfaceType, method);
        }
    
        @Override
        public int hashCode() {
          return identity;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FreshInvocationHandler) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

          Builder().parse(this, link)
        } catch (_: IllegalArgumentException) {
          null
        }
    
      override fun equals(other: Any?): Boolean = other is HttpUrl && other.url == url
    
      override fun hashCode(): Int = url.hashCode()
    
      override fun toString(): String = url
    
      /**
       * Returns the domain name of this URL's [host] that is one level beneath the public suffix by
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                            && Objects.equals(getVersion(), that.getVersion());
                } else {
                    return false;
                }
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getGroupId(), getArtifactId(), getVersion());
        }
    
        public List<Extension> getBuildExtensions() {
            Build build = getBuild();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
Back to Top