- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RegularImmutableSet (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
} @GwtIncompatible // RegularImmutableSet.table not in emulation private void verifyTableSize(int inputSize, int setSize, int tableSize) { Builder<Integer> builder = ImmutableSet.builder(); for (int i = 0; i < inputSize; i++) { builder.add(i % setSize); } ImmutableSet<Integer> set = builder.build(); assertTrue(set instanceof RegularImmutableSet); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
*/ @SuppressWarnings({"unchecked"}) // fully variant implementation (never actually produces any Es) public static <E> ImmutableSet<E> of() { return (ImmutableSet<E>) RegularImmutableSet.EMPTY; } /** * Returns an immutable set containing the given element. Preferred over {@link * Collections#singleton} for code consistency, {@code null} rejection, and because the returnRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0)