Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHashCodeNull (0.23 sec)

  1. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

      }
    
      public void testHashCode() {
        assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode());
        assertEquals(control("bar", 2).hashCode(), entry("bar", 2).hashCode());
      }
    
      public void testHashCodeNull() {
        assertEquals(control(NE, 1).hashCode(), entry(NE, 1).hashCode());
      }
    
      public void testNegativeCount() {
        assertThrows(IllegalArgumentException.class, () -> entry("foo", -1));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      }
    
      public void testHashCode() {
        assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode());
        assertEquals(control("bar", 2).hashCode(), entry("bar", 2).hashCode());
      }
    
      public void testHashCodeNull() {
        assertEquals(control(NK, 1).hashCode(), entry(NK, 1).hashCode());
        assertEquals(control("bar", NV).hashCode(), entry("bar", NV).hashCode());
        assertEquals(control(NK, NV).hashCode(), entry(NK, NV).hashCode());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top