- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 675 for CheckForNull (0.17 sec)
-
guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java
Multiset<N> adjacentNodes = getReference(adjacentNodesReference); if (adjacentNodes != null) { checkState(adjacentNodes.add(node)); } } @CheckForNull private static <T> T getReference(@CheckForNull Reference<T> reference) { return (reference == null) ? null : reference.get(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* @since 20.0 (varargs overload since 2.0) */ @CanIgnoreReturnValue public static <T> T checkNotNull( @CheckForNull T reference, String errorMessageTemplate, @CheckForNull Object p1, @CheckForNull Object p2, @CheckForNull Object p3, @CheckForNull Object p4) { if (reference == null) { throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
* * @return the converted value; is null <i>if and only if</i> {@code a} is null */ @CheckForNull public final B convert(@CheckForNull A a) { return correctedDoForward(a); } @CheckForNull B correctedDoForward(@CheckForNull A a) { if (handleNullAutomatically) { // TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert?
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMultiset.java
throw new UnsupportedOperationException(); } @CanIgnoreReturnValue @Override public final boolean remove(@CheckForNull Object element) { return remove(element, 1) > 0; } @CanIgnoreReturnValue @Override public int remove(@CheckForNull Object element, int occurrences) { throw new UnsupportedOperationException(); } @CanIgnoreReturnValue @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
* forward to this implementation. */ @CheckForNull protected Entry<E> standardFirstEntry() { Iterator<Entry<E>> entryIterator = entrySet().iterator(); if (!entryIterator.hasNext()) { return null; } Entry<E> entry = entryIterator.next(); return Multisets.immutableEntry(entry.getElement(), entry.getCount()); } @Override @CheckForNull public Entry<E> lastEntry() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
} @CheckForNull abstract V getValue(int keyIndex); @Override ImmutableSet<K> createKeySet() { return isFull() ? keyToIndex().keySet() : super.createKeySet(); } @Override public int size() { return size; } @Override @CheckForNull public V get(@CheckForNull Object key) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultimap.java
return size() == 0; } @Override public boolean containsValue(@CheckForNull Object value) { for (Collection<V> collection : asMap().values()) { if (collection.contains(value)) { return true; } } return false; } @Override public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) { Collection<V> collection = asMap().get(key);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
} @Override @CheckForNull public E lower(E element) { return forward.higher(element); } @Override @CheckForNull public E floor(E element) { return forward.ceiling(element); } @Override @CheckForNull public E ceiling(E element) { return forward.floor(element); } @Override @CheckForNull public E higher(E element) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java
public UncheckedTimeoutException() {} public UncheckedTimeoutException(@CheckForNull String message) { super(message); } public UncheckedTimeoutException(@CheckForNull Throwable cause) { super(cause); } public UncheckedTimeoutException(@CheckForNull String message, @CheckForNull Throwable cause) { super(message, cause); } private static final long serialVersionUID = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeSet.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 32.5K bytes - Viewed (0)