- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 804 for nullable (0.04 sec)
-
android/guava/src/com/google/common/collect/Platform.java
import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
// TODO: b/287198172 - Consider eagerly initializing these (but think about serialization). @LazyInit private transient @Nullable Ordering<@Nullable Comparable<?>> nullsFirst; @LazyInit private transient @Nullable Ordering<@Nullable Comparable<?>> nullsLast; @Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public int compare(Comparable<?> left, Comparable<?> right) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
import java.util.Iterator; import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * Implementation for {@link FilteredMultimap#values()}. * * @author Louis Wasserman */ @GwtCompatible final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object> extends AbstractCollection<V> { @Weak private final FilteredMultimap<K, V> multimap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
@CanIgnoreReturnValue @Override public @Nullable V putIfAbsent(K key, V value) { return delegate().putIfAbsent(key, value); } @CanIgnoreReturnValue @Override public boolean remove(@Nullable Object key, @Nullable Object value) { return delegate().remove(key, value); } @CanIgnoreReturnValue @Override public @Nullable V replace(K key, V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
@VisibleForTesting final transient @Nullable Object[] array; private final transient int size; RegularImmutableList(@Nullable Object[] array, int size) { this.array = array; this.size = size; } @Override public int size() { return size; } @Override boolean isPartialView() { return false; } @Override @Nullable Object[] internalArray() { return array;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates static <K, V> Map<K, V> generateMap(@Nullable K key, @Nullable V value) { return generateHashdMap(key, value); } @Generates static <K, V> HashMap<K, V> generateHashdMap(@Nullable K key, @Nullable V value) { return generateLinkedHashMap(key, value); } @Generates static <K, V> LinkedHashMap<K, V> generateLinkedHashMap(@Nullable K key, @Nullable V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
}; } @Override public @Nullable Entry<K, V> firstEntry() { return delegate.firstEntry(); } @Override public K firstKey() { return delegate.firstKey(); } @Override public @Nullable Entry<K, V> floorEntry(K key) { return delegate.floorEntry(checkValid(key)); } @Override public @Nullable K floorKey(K key) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
import java.util.concurrent.ConcurrentHashMap; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
@Override public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) { return trustedGet(TypeToken.of(type)); } @Override public <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type) { return trustedGet(type.rejectTypeVariables()); } @Override @CanIgnoreReturnValue public <T extends B> @Nullable T putInstance(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
} @ParametricNullness private <T extends @Nullable Object> T callWithTimeout( Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible) throws Exception { checkNotNull(callable); checkNotNull(timeoutUnit); checkPositiveTimeout(timeoutDuration); Future<T> future = executor.submit(callable); try { return amInterruptible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0)