Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for UnhashableObject (1.51 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          extends TestUnhashableCollectionGenerator<List<UnhashableObject>>
          implements TestListGenerator<UnhashableObject> {}
    
      public static class UnhashableElementsImmutableListGenerator extends TestUnhashableListGenerator {
        @Override
        public List<UnhashableObject> create(UnhashableObject[] elements) {
          return ImmutableList.copyOf(elements);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> {
    
        @Override
        public Collection<UnhashableObject> create(UnhashableObject[] elements) {
          ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder();
          int key = 1;
          for (UnhashableObject value : elements) {
            builder.put(key++, value);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.SampleElements.Unhashables;
    import com.google.common.collect.testing.UnhashableObject;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap.
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return insertionOrder;
        }
      }
    
      public static class ImmutableSortedSetUnhashableGenerator extends TestUnhashableSetGenerator {
        @Override
        public Set<UnhashableObject> create(UnhashableObject[] elements) {
          return ImmutableSortedSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetAsListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return insertionOrder;
        }
      }
    
      public static class ImmutableSortedSetUnhashableGenerator extends TestUnhashableSetGenerator {
        @Override
        public Set<UnhashableObject> create(UnhashableObject[] elements) {
          return ImmutableSortedSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetAsListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top