- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 585 for Sall (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
protected void initMapWithNullValue() { resetMap(createArrayWithNullValue()); } /** * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertApproximateElementCountGuess(bf, numInsertions); // Assert that the BF "might" have all of the even numbers. for (int i = 0; i < numInsertions * 2; i += 2) { assertTrue(bf.mightContain(Integer.toString(i))); } // Now we check for known false positives using a set of known false positives. // (These are all of the false positives under 900.) ImmutableSet<Integer> falsePositives =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
// NullBounds has methods whose parameters are type variables that have // "extends @Nullable Object" as a bound. This test ensures that NullPointerTester considers // those parameters to be @Nullable, so it won't call the methods. NullBounds<?, ?, ?> nullBounds = new NullBounds<>(); new NullPointerTester().testAllPublicInstanceMethods(nullBounds); assertThat(nullBounds.xWasCalled).isTrue(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * An implementation of {@code Iterable} which throws an exception on all invocations of the {@link * #iterator()} method after the first, and whose iterator is always unmodifiable. * * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* but mutates {@code multisetToModify} instead of returning a view. * * <p>In contrast, {@code multisetToModify.retainAll(multisetToRetain)} keeps all occurrences of * elements that appear at all in {@code multisetToRetain}, and deletes all occurrences of all * other elements. * * @return {@code true} if {@code multisetToModify} was changed as a result of this operation * @since 10.0 */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
E[] array = createArrayWithNullElement(); resetContainer(getSubjectGenerator().create(array)); } /** * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call * to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullMissingWhenNullUnsupported(String message) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
* limitations under the License. */ package com.google.common.math; import static com.google.common.math.StatsTesting.ALLOWED_ERROR; import static com.google.common.math.StatsTesting.ALL_MANY_VALUES; import static com.google.common.math.StatsTesting.ALL_STATS; import static com.google.common.math.StatsTesting.EMPTY_STATS_ITERABLE; import static com.google.common.math.StatsTesting.EMPTY_STATS_VARARGS;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 32.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java
} /** * The version of this test supplied by {@link MapInterfaceTest} fails for this particular Map * implementation, because {@code map.get()} returns a view collection that changes in the course * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)} * returns the same value which {@code map.get(x)} did immediately beforehand. */ @Override public void testRemove() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
return split == null ? null : new GeneralSpliteratorOfPrimitive<>(split, consumerizer); } } /** * Different ways of decomposing a Spliterator, all of which must produce the same elements (up to * ordering, if Spliterator.ORDERED is not present). */ enum SpliteratorDecompositionStrategy { NO_SPLIT_FOR_EACH_REMAINING { @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 18:19:31 GMT 2024 - 11.9K bytes - Viewed (0)