Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 559 for hashcode (0.18 sec)

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

            StringConverter<?> that = (StringConverter<?>) object;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return enumClass.hashCode();
        }
    
        @Override
        public String toString() {
          return "Enums.stringConverter(" + enumClass.getName() + ".class)";
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableSet.java

      private final transient Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
    
      RegularImmutableSet(Object[] elements, int hashCode, @Nullable Object[] table, int mask) {
        this.elements = elements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

              .append('>')
              .toString();
        }
    
        @Override
        public int hashCode() {
          return (ownerType == null ? 0 : ownerType.hashCode())
              ^ argumentsList.hashCode()
              ^ rawType.hashCode();
        }
    
        @Override
        public boolean equals(@CheckForNull Object other) {
          if (!(other instanceof ParameterizedType)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Tuple5.java

        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
            result = prime * result + ((value3 == null) ? 0 : value3.hashCode());
            result = prime * result + ((value4 == null) ? 0 : value4.hashCode());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                    return session.getId();
                }
                final String preference = r.getParameter("preference");
                if (preference != null) {
                    return Integer.toString(preference.hashCode());
                }
                final Object accessType = r.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
                if (Constants.SEARCH_LOG_ACCESS_TYPE_JSON.equals(accessType)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putShort((short) 0x0101)
            .putShort((short) 0x0100)
            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/InvalidatableSet.java

        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         */
        public Path getPath() {
            return path;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMapEntry.java

      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
       * #hashCode()} to forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

        this.functions = functions;
      }
    
      /**
       * Constructs a {@code HashCode} from the {@code Hasher} objects of the functions. Each of them
       * has consumed the entire input and they are ready to output a {@code HashCode}. The order of the
       * hashers are the same order as the functions given to the constructor.
       */
      // this could be cleaner if it passed HashCode[], but that would create yet another array...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top