- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 274 for nullable (0.39 sec)
-
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
abstract <R> @Nullable R dummyReturnValue(TypeToken<R> returnType); private final class DummyHandler extends AbstractInvocationHandler implements Serializable { private final TypeToken<?> interfaceType; DummyHandler(TypeToken<?> interfaceType) { this.interfaceType = interfaceType; } @Override protected @Nullable Object handleInvocation(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java
@Override public Comparator<? super E> comparator() { return comparator; } @Override public @Nullable Entry<E> firstEntry() { Iterator<Entry<E>> entryIterator = entryIterator(); return entryIterator.hasNext() ? entryIterator.next() : null; } @Override public @Nullable Entry<E> lastEntry() { Iterator<Entry<E>> entryIterator = descendingEntryIterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
public abstract UnmodifiableIterator<E> iterator(); @Override public boolean contains(@Nullable Object object) { return object != null && super.contains(object); } @Override public final boolean add(E e) { throw new UnsupportedOperationException(); } @Override public final boolean remove(@Nullable Object object) { throw new UnsupportedOperationException(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
android/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) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.stream.Collector; import jsinterop.annotations.JsMethod; import org.jspecify.annotations.Nullable; /** * GWT emulated version of {@link com.google.common.collect.ImmutableSet}. For the unsorted sets, * they are thin wrapper around {@link java.util.Collections#emptySet()}, {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
runConcurrentTest( numberOfThreads, new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception { long unused = ticker.read(); return null; } }); assertEquals(incrementByNanos * numberOfThreads, ticker.read()); } /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate(); assertThat(multimap.entries()) .containsExactly( Maps.<@Nullable String, Integer>immutableEntry(null, 7), Maps.<@Nullable String, Integer>immutableEntry(null, 3), Maps.<@Nullable String, Integer>immutableEntry(null, 1), Maps.<String, @Nullable Integer>immutableEntry("tree", null),
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/util/concurrent/CollectionFuture.java
static final class ListFuture<V extends @Nullable Object> extends CollectionFuture<V, List<@Nullable V>> { ListFuture( ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) { super(futures, allMustSucceed); init(); } @Override public List<@Nullable V> combine(List<@Nullable Present<V>> values) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
private static class UnmodifiableMultimap<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingMultimap<K, V> implements Serializable { final Multimap<K, V> delegate; @LazyInit transient @Nullable Collection<Entry<K, V>> entries; @LazyInit transient @Nullable Multiset<K> keys; @LazyInit transient @Nullable Set<K> keySet; @LazyInit transient @Nullable Collection<V> values;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0)