- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 925 for callable (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @NullMarked public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> { private final TestContainerGenerator<T, E> generator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
return super.toString(); } @Override public boolean equals(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return super.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return super.hashCode(); } @Override public boolean add(@Nullable E o) { assertTrue(Thread.holdsLock(mutex)); return super.add(o); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@code GeneralRange}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class GeneralRangeTest extends TestCase { private static final Ordering<@Nullable Integer> ORDERING = Ordering.<Integer>natural().<Integer>nullsFirst(); private static final List<@Nullable Integer> IN_ORDER_VALUES =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
* not have been inserted consecutively. */ private final @Nullable List<NodeConnection<N>> orderedNodeConnections; private int predecessorCount; private int successorCount; private DirectedGraphConnections( Map<N, Object> adjacentNodeValues, @Nullable List<NodeConnection<N>> orderedNodeConnections, int predecessorCount, int successorCount) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* equal to any other equality groups added to this tester. * * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the * objects, and the array itself, can be null. That is for programmer convenience, when the * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the * array nor its contents can be null, but it is not useful to force the use of {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
new IteratorOperation() { @Override public @Nullable Object execute(Iterator<?> iterator) { iterator.remove(); return null; } }; private static final IteratorOperation NEXT_METHOD = new IteratorOperation() { @Override public @Nullable Object execute(Iterator<?> iterator) { return iterator.next(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Absent.java
} @Override public @Nullable T orNull() { return null; } @Override public Set<T> asSet() { return Collections.emptySet(); } @Override public <V> Optional<V> transform(Function<? super T, V> function) { checkNotNull(function); return Optional.absent(); } @Override public boolean equals(@Nullable Object obj) { return this == obj; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingObject implements Map.Entry<K, V> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
return super.toString(); } @Override public boolean equals(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return super.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return super.hashCode(); } @Override public boolean add(@Nullable E o) { assertTrue(Thread.holdsLock(mutex)); return super.add(o); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an * array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0)