- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 129 for e0 (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
public void testAddAllAtIndex_withDuplicates() { MinimalCollection<E> elementsToAdd = MinimalCollection.of(e0(), e1(), e0(), e1()); assertTrue("addAll(n, hasDuplicates) should return true", getList().addAll(0, elementsToAdd)); expectAdded(0, e0(), e1(), e0(), e1()); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
@ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAtIndex_supportedPresent() { getList().add(0, e0()); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
public void testAddAll_withDuplicates() { MinimalCollection<E> elementsToAdd = MinimalCollection.of(e0(), e1(), e0(), e1()); assertTrue("addAll(hasDuplicates) should return true", getList().addAll(elementsToAdd)); expectAdded(e0(), e1(), e0(), e1()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
new IteratorTester<E>( 4, MODIFIABLE, getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<E> newTargetIterator() { return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); } }.test(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
"multiset.elementSet().contains(present) returned false", getMultiset().elementSet().contains(e0())); } @CollectionSize.Require(absent = ZERO) public void testEntrySet_contains() { assertTrue( "multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); } public void testEntrySet_contains_count0() { assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
"multiset.elementSet().contains(present) returned false", getMultiset().elementSet().contains(e0())); } @CollectionSize.Require(absent = ZERO) public void testEntrySet_contains() { assertTrue( "multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); } public void testEntrySet_contains_count0() { assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
initThreeCopies(); assertEquals(3, getMultiset().count(e0())); Multiset.Entry<E> entry = getOnlyElement(getMultiset().entrySet()); assertEquals(3, entry.getCount()); assertTrue(getMultiset().remove(e0())); assertEquals(2, entry.getCount()); assertTrue(getMultiset().elementSet().remove(e0())); assertEquals(0, entry.getCount()); getMultiset().add(e0(), 2); assertEquals(2, entry.getCount()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
assertNull(navigableSet.pollFirst()); } @CollectionSize.Require(ZERO) public void testEmptySetNearby() { assertNull(navigableSet.lower(e0())); assertNull(navigableSet.floor(e0())); assertNull(navigableSet.ceiling(e0())); assertNull(navigableSet.higher(e0())); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testEmptySetPollLast() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
assertEquals("old count", originalCount, getMultiset().add(e0(), 0)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrences() { int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().add(e0(), 2)); assertEquals("old count", originalCount + 2, getMultiset().count(e0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java
public void testLastIndexOf_duplicate() { E[] array = createSamplesArray(); array[getNumElements() / 2] = e0(); collection = getSubjectGenerator().create(array); assertEquals( "lastIndexOf(duplicate) should return index of last occurrence", getNumElements() / 2, getList().lastIndexOf(e0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.2K bytes - Viewed (0)