Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Unhashables (0.06 sec)

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

        extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest {
      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0(), 1, unhashables.e1(), 2, unhashables.e2());
      }
    
      @Override
      protected Integer getKeyNotInPopulatedMap() {
        return 3;
      }
    
      @Override
      protected UnhashableObject getValueNotInPopulatedMap() {
        return new Unhashables().e3();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java

        extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest {
      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0(), 1, unhashables.e1(), 2, unhashables.e2());
      }
    
      @Override
      protected Integer getKeyNotInPopulatedMap() {
        return 3;
      }
    
      @Override
      protected UnhashableObject getValueNotInPopulatedMap() {
        return new Unhashables().e3();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        SampleElements<UnhashableObject> unhashables = new Unhashables();
        Multimap<Integer, UnhashableObject> multimap = ImmutableMultimap.of(0, unhashables.e0());
        assertEquals(1, multimap.get(0).size());
        assertTrue(multimap.get(0).contains(unhashables.e0()));
      }
    
      public void testUnhashableMixedValues() {
        SampleElements<UnhashableObject> unhashables = new Unhashables();
        Multimap<Integer, Object> multimap =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public E e2() {
        return e2;
      }
    
      public E e3() {
        return e3;
      }
    
      public E e4() {
        return e4;
      }
    
      public static class Unhashables extends SampleElements<UnhashableObject> {
        public Unhashables() {
          super(
              new UnhashableObject(1),
              new UnhashableObject(2),
              new UnhashableObject(3),
              new UnhashableObject(4),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public E e2() {
        return e2;
      }
    
      public E e3() {
        return e3;
      }
    
      public E e4() {
        return e4;
      }
    
      public static class Unhashables extends SampleElements<UnhashableObject> {
        public Unhashables() {
          super(
              new UnhashableObject(1),
              new UnhashableObject(2),
              new UnhashableObject(3),
              new UnhashableObject(4),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
       * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getHashCodeMethod() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top