- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,303 for Nullable (0.05 seconds)
-
guava/src/com/google/common/collect/MutableClassToInstanceMap.java
@Override public <T extends B> @Nullable T putInstance( Class<@NonNull T> type, @ParametricNullness T value) { return cast(type, put(type, value)); } @Override public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) { return cast(type, get(type)); } @CanIgnoreReturnValue private static <T> @Nullable T cast(Class<T> type, @Nullable Object value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} private static final class TestCallable implements AsyncCallable<@Nullable Void> { private final ListenableFuture<@Nullable Void> future; private boolean called = false; private TestCallable(ListenableFuture<@Nullable Void> future) { this.future = future; } @Override public ListenableFuture<@Nullable Void> call() throws Exception { called = true; return future;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
@VisibleForTesting final transient @Nullable Object[] elements; private final transient int hashCode; // the same values as `elements` in hashed positions (plus nulls) @VisibleForTesting final transient @Nullable Object[] table; // 'and' with an int to get a valid table index. private final transient int mask; private final transient int size; RegularImmutableSet(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.6K bytes - Click Count (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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86K bytes - Click Count (0) -
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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
.buildOrThrow(); @VisibleForTesting @Nullable Integer initialCapacity; @VisibleForTesting @Nullable Long maximumSize; @VisibleForTesting @Nullable Long maximumWeight; @VisibleForTesting @Nullable Integer concurrencyLevel; @VisibleForTesting @Nullable Strength keyStrength; @VisibleForTesting @Nullable Strength valueStrength; @VisibleForTesting @Nullable Boolean recordStats;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
.buildOrThrow(); @VisibleForTesting @Nullable Integer initialCapacity; @VisibleForTesting @Nullable Long maximumSize; @VisibleForTesting @Nullable Long maximumWeight; @VisibleForTesting @Nullable Integer concurrencyLevel; @VisibleForTesting @Nullable Strength keyStrength; @VisibleForTesting @Nullable Strength valueStrength; @VisibleForTesting @Nullable Boolean recordStats;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
public void testTransformEntrySetContains() { Map<@Nullable String, @Nullable Boolean> underlying = new HashMap<>(); underlying.put("a", null); underlying.put("b", true); underlying.put(null, true); Map<@Nullable String, @Nullable Boolean> map = transformValues( underlying, new Function<@Nullable Boolean, @Nullable Boolean>() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 9.5K bytes - Click Count (0) -
android/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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
private static final Iterable<@Nullable Integer> iterableNull = Arrays.asList((Integer) null); private static final Iterable<@Nullable Integer> iterableNullNull = Arrays.asList((Integer) null, null); private static final Iterable<@Nullable Integer> iterableNull1 = Arrays.asList(null, 1); private static final Iterable<@Nullable Integer> iterable1Null = Arrays.asList(1, null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 13.2K bytes - Click Count (0)