- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for MinimalCollection (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
*/ protected int getNullLocation() { return getNumElements() / 2; } protected MinimalCollection<E> createDisjointCollection() { return MinimalCollection.of(e3(), e4()); } protected MinimalCollection<E> emptyCollection() { return MinimalCollection.<E>of(); } protected final E e0() { return samples.e0(); } protected final E e1() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} public void testCopyOf_collection_empty() { Collection<String> c = MinimalCollection.of(); Set<String> set = copyOf(c); assertEquals(Collections.<String>emptySet(), set); assertSame(this.<String>of(), set); } public void testCopyOf_collection_oneElement() { Collection<String> c = MinimalCollection.of("a"); Set<String> set = copyOf(c); assertEquals(singleton("a"), set); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
} public void testCopyOf_collection_empty() { Collection<String> c = MinimalCollection.of(); Multiset<String> multiset = ImmutableMultiset.copyOf(c); assertTrue(multiset.isEmpty()); } public void testCopyOf_collection_oneElement() { Collection<String> c = MinimalCollection.of("a"); Multiset<String> multiset = ImmutableMultiset.copyOf(c);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
assertFalse(message, getMap().containsValue(null)); } catch (NullPointerException tolerated) { // Tolerated } } @Override protected MinimalCollection<Entry<K, V>> createDisjointCollection() { return MinimalCollection.of(e3(), e4()); } protected int getNumEntries() { return getNumElements(); } protected Collection<Entry<K, V>> getSampleEntries(int howMany) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
* can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> { @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
* can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> { @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
assertFalse(message, getMap().containsValue(null)); } catch (NullPointerException tolerated) { // Tolerated } } @Override protected MinimalCollection<Entry<K, V>> createDisjointCollection() { return MinimalCollection.of(e3(), e4()); } protected int getNumEntries() { return getNumElements(); } protected Collection<Entry<K, V>> getSampleEntries(int howMany) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0)