Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 491 for hashCodes (0.37 sec)

  1. guava/src/com/google/common/primitives/UnsignedInteger.java

       * other}.
       */
      @Override
      public int compareTo(UnsignedInteger other) {
        checkNotNull(other);
        return compare(value, other.value);
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof UnsignedInteger) {
          UnsignedInteger other = (UnsignedInteger) obj;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/SubscriberRegistry.java

        MethodIdentifier(Method method) {
          this.name = method.getName();
          this.parameterTypes = Arrays.asList(method.getParameterTypes());
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(name, parameterTypes);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof MethodIdentifier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                            && Objects.equals(source, that.source)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(path, source, allowStubModel, recursive, processPlugins, repositories);
                }
    
                @Override
                public String toString() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (double value : VALUES) {
          assertThat(Doubles.hashCode(value)).isEqualTo(Double.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
        for (double value : NUMBERS) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (short value : VALUES) {
          assertThat(Shorts.hashCode(value)).isEqualTo(Short.hashCode(value));
        }
      }
    
      public void testCheckedCast() {
        for (short value : VALUES) {
          assertThat(Shorts.checkedCast((long) value)).isEqualTo(value);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        final String string;
    
        public HashHostileComparable(String string) {
          this.string = string;
        }
    
        @Override
        public int hashCode() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int compareTo(HashHostileComparable o) {
          return string.compareTo(o.string);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. docs/smb3-features/02-persistent-handles-design.md

            if (obj instanceof HandleGuid) {
                return guid.equals(((HandleGuid)obj).guid);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return guid.hashCode();
        }
    }
    ```
    
    ### 4.2 Durable Handle Request Context
    ```java
    package jcifs.internal.smb2.persistent;
    
    import jcifs.internal.smb2.create.Smb2CreateContext;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Files.java

       * @return the {@link HashCode} of all of the bytes in the file
       * @throws IOException if an I/O error occurs
       * @since 12.0
       * @deprecated Prefer {@code asByteSource(file).hash(hashFunction)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).hash(hashFunction)",
          imports = "com.google.common.io.Files")
      public
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/MediaType.java

        } else {
          return false;
        }
      }
    
      @Override
      public int hashCode() {
        // racy single-check idiom
        int h = hashCode;
        if (h == 0) {
          h = hash(type, subtype, parametersAsMap());
          hashCode = h;
        }
        return h;
      }
    
      private static final MapJoiner PARAMETER_JOINER = Joiner.on("; ").withKeyValueSeparator("=");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top