- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for e3 (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
@ListFeature.Require(SUPPORTS_SET) public void testReplaceAll() { getList().replaceAll(e -> samples.e3()); expectContents(nCopies(getNumElements(), samples.e3())); } @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
public void testAddAtIndex_middle() { getList().add(getNumElements() / 2, e3()); expectAdded(getNumElements() / 2, e3()); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAtIndex_end() { getList().add(getNumElements(), e3()); expectAdded(getNumElements(), e3()); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
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-tests/test/com/google/common/collect/ImmutableSetTest.java
return ImmutableSet.of(e1, e2, e3); } @Override protected <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3, E e4) { return ImmutableSet.of(e1, e2, e3, e4); } @Override protected <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3, E e4, E e5) { return ImmutableSet.of(e1, e2, e3, e4, e5); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
} public void testToArray_oversizedArray() { E[] array = getSubjectGenerator().createArray(getNumElements() + 2); array[getNumElements()] = e3(); array[getNumElements() + 1] = e3(); assertSame( "toArray(overSizedE[]) should return the given array", array, collection.toArray(array)); List<E> subArray = asList(array).subList(0, getNumElements());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertTrue( "removeAll(largeIntersectingCollection) should return true", collection.removeAll(MinimalCollection.of(e0(), e0(), e0(), e3(), e3(), e3()))); expectMissing(e0()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemoveAll_unsupportedEmptyCollection() { try { assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
put(e3()); iterator.next(); }); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPut_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> put(e3())); expectUnchanged(); expectMissing(e3()); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
@ListFeature.Require(SUPPORTS_SET) public void testReplaceAll() { getList().replaceAll(e -> samples.e3()); expectContents(Collections.nCopies(getNumElements(), samples.e3())); } @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
public void testAddAtIndex_middle() { getList().add(getNumElements() / 2, e3()); expectAdded(getNumElements() / 2, e3()); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAtIndex_end() { getList().add(getNumElements(), e3()); expectAdded(getNumElements(), e3()); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
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/CollectionAddTester.java
assertTrue("add(notPresent) should return true", collection.add(e3())); expectAdded(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAdd_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> collection.add(e3())); expectUnchanged(); expectMissing(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
assertTrue("add(notPresent) should return true", collection.add(e3())); expectAdded(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAdd_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> collection.add(e3())); expectUnchanged(); expectMissing(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0)