Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 557 for hashCode (0.09 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Short)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Short#hashCode(short)} instead.
       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      public static int hashCode(short value) {
        return value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Short)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Short#hashCode(short)} instead.
       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      public static int hashCode(short value) {
        return value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeMap.java

       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@CheckForNull Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /** Returns a readable string representation of this range map. */
      @Override
      String toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/ParamMap.java

            return parent.entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return parent.equals(o);
        }
    
        @Override
        public int hashCode() {
            return parent.hashCode();
        }
    
        @Override
        public V getOrDefault(final Object key, final V defaultValue) {
            final V value = parent.get(key);
            if (value != null) {
                return value;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code ActivationFile}.
     *
     */
    class ActivationFileTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ActivationFile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationFile().equals(null));
    
            new ActivationFile().equals(new ActivationFile());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Activation}.
     *
     */
    class ActivationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Activation().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Activation().equals(null));
    
            new Activation().equals(new Activation());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code CiManagement}.
     *
     */
    class CiManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new CiManagement().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new CiManagement().equals(null));
    
            new CiManagement().equals(new CiManagement());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java

    /**
     * Tests {@code DeploymentRepository}.
     *
     */
    class DeploymentRepositoryTest {
    
        @Test
        void testHashCodeNullSafe() {
            new DeploymentRepository().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DeploymentRepository().equals(null));
    
            new DeploymentRepository().equals(new DeploymentRepository());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top