- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 129 for e0 (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
assertTrue( "addAll(somePresent) should return true", collection.addAll(MinimalCollection.of(e3(), e0()))); assertTrue("should contain " + e3(), collection.contains(e3())); assertTrue("should contain " + e0(), collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedSomePresent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
assertEquals(1, multimap.get(0).size()); assertTrue(multimap.get(0).contains(unhashables.e0())); } public void testUnhashableMixedValues() { SampleElements<UnhashableObject> unhashables = new Unhashables(); Multimap<Integer, Object> multimap = ImmutableMultimap.<Integer, Object>of( 0, unhashables.e0(), 2, "hey you", 0, unhashables.e1());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
disjoint = new Target(disjointList, "disjoint"); superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset"); nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset"); sameElements = new Target(asList(createSamplesArray()), "sameElements"); containsDuplicates = new Target(MinimalCollection.of(e0(), e0(), e3(), e3()), "containsDuplicates");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.6K bytes - Viewed (0) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java
public void testIndexOf_duplicate() { E[] array = createSamplesArray(); array[getNumElements() / 2] = e0(); collection = getSubjectGenerator().create(array); assertEquals( "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
getMultiset().setCount(e0(), 2, 3)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_ADD) public void testSetCountConditional_oldCountTooSmallZero() { assertFalse( "setCount() with a too-small oldCount should return false", getMultiset().setCount(e0(), 0, 2)); expectUnchanged(); }
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/testers/CollectionRemoveIfTester.java
@CollectionSize.Require(absent = ZERO) public void testRemoveIf_sometimesTrue() { assertTrue( "removeIf(isEqual(present)) should return true", collection.removeIf(Predicate.isEqual(samples.e0()))); expectMissing(samples.e0()); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_allPresent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); } @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION}) @CollectionSize.Require(SEVERAL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
} @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++) { if (expected[i].equals(samples.e0())) { expected[i] = samples.e3(); } } expectContents(expected); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
protected final Multiset<E> getMultiset() { return (Multiset<E>) collection; } protected void initThreeCopies() { collection = getSubjectGenerator().create(e0(), e0(), e0()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.3K bytes - Viewed (0)