- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 875 for Nullable (0.08 sec)
-
guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java
Multiset<N> successors = getReference(successorsReference); if (successors != null) { checkState(successors.add(node)); } } private static <T> @Nullable T getReference(@Nullable Reference<T> reference) { return (reference == null) ? null : reference.get(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K 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) -
android/guava/src/com/google/common/collect/CollectCollectors.java
MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build), ImmutableSetMultimap::copyOf); } static < T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> Collector<T, ?, M> toMultimap( Function<? super T, ? extends K> keyFunction,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build), ImmutableSetMultimap::copyOf); } static < T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> Collector<T, ?, M> toMultimap( Function<? super T, ? extends K> keyFunction,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.6K 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-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) -
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-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} } }; abstract <E extends @Nullable Object> void forEach( GeneralSpliterator<E> spliterator, Consumer<? super E> consumer); static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES = unmodifiableSet(new LinkedHashSet<>(asList(values()))); } private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} } }; abstract <E extends @Nullable Object> void forEach( GeneralSpliterator<E> spliterator, Consumer<? super E> consumer); static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES = unmodifiableSet(new LinkedHashSet<>(asList(values()))); } private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
* * <p>The serialized output consists of the number of entries, first key, first value, second key, * second value, and so on. */ static <K extends @Nullable Object, V extends @Nullable Object> void writeMap( Map<K, V> map, ObjectOutputStream stream) throws IOException { stream.writeInt(map.size()); for (Map.Entry<K, V> entry : map.entrySet()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0)