- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,033 for Ball (0.15 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
v3(), getMap() .merge( k3(), v3(), (oldV, newV) -> { throw new AssertionFailedError( "Should not call merge function if key was absent"); })); expectAdded(e3()); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testMappedToNull() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* does mean that users on Java 8 who obtain an instance of {@code TypeVariable} from {@link * TypeResolver#resolveType} will not be able to call {@code getAnnotatedBounds()} on it, but that * should hopefully be rare. * * <p>TODO(b/147144588): We are currently also missing the methods inherited from {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
final class KeySet extends View<K, V, K> { KeySet() { super(HashBiMap.this); } @Override @ParametricNullness K forEntry(int entry) { // The cast is safe because we call forEntry only for indexes that contain entries. return uncheckedCastNullableTToT(keys[entry]); } @Override public boolean contains(@CheckForNull Object o) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any * other {@code Future}, be {@linkplain #cancel cancelled}. * * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Long[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class LongsAsListTailSubListGenerator extends TestLongListGenerator { @Override protected List<Long> create(Long[] elements) { Long[] prefix = {(long) 86, (long) 99}; Long[] all = concat(prefix, elements);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
public class ListenerCallQueueTest extends TestCase { private static final ListenerCallQueue.Event<Object> THROWING_EVENT = new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A TimeLimiter that runs method calls in the background using an {@link ExecutorService}. If the * time limit expires for a given method call, the thread running the call will be interrupted. * * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
Range<Integer> range = Range.all(); assertTrue(range.contains(Integer.MIN_VALUE)); assertTrue(range.contains(Integer.MAX_VALUE)); assertUnboundedBelow(range); assertUnboundedAbove(range); assertFalse(range.isEmpty()); assertEquals("(-\u221e..+\u221e)", range.toString()); assertSame(range, reserializeAndAssert(range)); assertSame(range, Range.all()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 24.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* types (or if the type is a non-variable type, like {@code String}), then code should almost * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from * its runtime check. * * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.9K bytes - Viewed (0)