- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CompactHashSet (0.11 sec)
-
android/guava/src/com/google/common/collect/CompactHashSet.java
/** Constructs a new empty instance of {@code CompactHashSet}. */ CompactHashSet() { init(CompactHashing.DEFAULT_SIZE); } /** * Constructs a new instance of {@code CompactHashSet} with the specified capacity. * * @param expectedSize the initial capacity of this {@code CompactHashSet}. */ CompactHashSet(int expectedSize) { init(expectedSize); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
/** Constructs a new empty instance of {@code CompactHashSet}. */ CompactHashSet() { init(CompactHashing.DEFAULT_SIZE); } /** * Constructs a new instance of {@code CompactHashSet} with the specified capacity. * * @param expectedSize the initial capacity of this {@code CompactHashSet}. */ CompactHashSet(int expectedSize) { init(expectedSize); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
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)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
.named("CompactLinkedHashSet") .withFeatures(allFeatures) .createTestSuite()); return suite; } public void testAllocArraysDefault() { CompactHashSet<Integer> set = CompactHashSet.create(); assertThat(set.needsAllocArrays()).isTrue(); assertThat(set.elements).isNull(); set.add(1); assertThat(set.needsAllocArrays()).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashSetFloodingTest.java
@GwtIncompatible public class CompactHashSetFloodingTest extends AbstractHashFloodingTest<Set<Object>> { public CompactHashSetFloodingTest() { super( ImmutableList.of(Construction.setFromElements(CompactHashSet::create)), n -> n * log(n), ImmutableList.of(QueryOp.SET_CONTAINS)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1K bytes - Viewed (0)