Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 491 for hashCodes (0.04 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

        private ComparableVersion comparable;
    
        public DefaultArtifactVersion(String version) {
            parseVersion(version);
        }
    
        @Override
        public int hashCode() {
            return 11 + comparable.hashCode();
        }
    
        @Override
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            // This will return the hashCode of the query as string
            assertEquals(Integer.toString("test query".hashCode()), result);
        }
    
        public void test_processGsaSearchPreference_queryPref() {
            String result = queryHelper.processGsaSearchPreference(null, "test query");
            // This will return the hashCode of the query as string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

        public long getTreeNum() {
            return this.treeNum;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            return this.share.hashCode() + 7 * this.service.hashCode();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

       * Character#hashCode(char)}.
       *
       * @param value a primitive {@code char} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Character.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a char is the int version of the char itself, so it's simplest to return"
              + " that.")
      public static int hashCode(char value) {
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a short is the int version of the short itself, so it's simplest to return"
              + " that.")
      public static int hashCode(short value) {
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a short is the int version of the short itself, so it's simplest to return"
              + " that.")
      public static int hashCode(short value) {
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Long#hashCode(long)}.
       *
       * @param value a primitive {@code long} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Long.hashCode(value)")
      public static int hashCode(long value) {
        return Long.hashCode(value);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> tentativeArgs = new ArrayList<>(args);
        tentativeArgs.set(i, alternateArg);
        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        /**
         * Calculates the hash code for this CharMappingItem based on inputs and output.
         *
         * @return the hash code value for this object
         */
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        /**
         * Compares this CharMappingItem with another object for equality.
         * Two CharMappingItem objects are equal if they have the same inputs and output.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top