Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for unhashable (0.21 sec)

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

        suite.addTest(
            ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator())
                .suppressing(ListHashCodeTester.getHashCodeMethod())
                .named("ImmutableList, unhashable values")
                .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .named("ImmutableMap.values, unhashable")
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableMapKeyListGenerator())
                .named("ImmutableMap.keySet.asList")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetUnhashableGenerator())
                .suppressing(SetHashCodeTester.getHashCodeMethods())
                .named(ImmutableSortedSetTest.class.getName() + ", unhashable")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top