Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompactHashSet (0.27 sec)

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

                      protected Set<String> create(String[] elements) {
                        CompactHashSet<String> set = CompactHashSet.create();
                        set.convertToHashFloodingResistantImplementation();
                        Collections.addAll(set, elements);
                        return set;
                      }
                    })
                .named("CompactHashSet with flooding protection")
                .withFeatures(allFeatures)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                        return set;
                      }
                    })
                .named("CompactHashSet#TrimToSize")
                .withFeatures(allFeatures)
                .createTestSuite());
        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top