- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,178 for contain (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { getSet().remove(e0()); assertFalse( "After remove(present) a set should not contain the removed element.", getSet().contains(e0())); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
fail("addAll(n, containsNull) should throw"); } catch (NullPointerException expected) { } expectUnchanged(); expectNullMissingWhenNullUnsupported( "Should not contain null after unsupported addAll(n, containsNull)"); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = {ZERO, ONE}) public void testAddAllAtIndex_middle() { assertTrue(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/SetMultimap.java
* this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link * Multimaps#asMap(SetMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality. * * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
*/ @CanIgnoreReturnValue protected C resetContainer(C newValue) { container = newValue; return container; } /** * @see #expectContents(java.util.Collection) * @param elements expected contents of {@link #container} */ protected final void expectContents(E... elements) { expectContents(Arrays.asList(elements)); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
put(nullKeyEntry); fail("put(null, value) should throw"); } catch (NullPointerException expected) { } expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported put(null, value)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPut_nullValueSupported() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* LoadingCache#getAll}. * * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does * contain will be cached, but {@code getAll} will throw an exception. If the returned map * contains extra keys not present in {@code keys} then all returned entries will be cached, but
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
/** * A generator of {@code TestSuite} instances for testing {@code ByteSource} implementations. * Generates tests of all methods on a {@code ByteSource} given various inputs the source is * expected to contain as well as sub-suites for testing the {@code CharSource} view and {@code * slice()} views in the same way. * * @author Colin Decker */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
} } } private static void assertContains(String expectedSubstring, String actual) { // TODO(kevinb): use a Truth assertion here if (!actual.contains(expectedSubstring)) { fail("expected <" + actual + "> to contain <" + expectedSubstring + ">"); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
/** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableSortedSet}, ordered by the specified comparator. * * <p>If the elements contain duplicates (according to the comparator), only the first duplicate * in encounter order will appear in the result. * * @since 21.0 */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
public void testElementSet_contains() { assertTrue( "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))); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.9K bytes - Viewed (0)