- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 434 for checkNotNull (0.08 sec)
-
guava/src/com/google/common/graph/MapIteratorCache.java
MapIteratorCache(Map<K, V> backingMap) { this.backingMap = checkNotNull(backingMap); } @CanIgnoreReturnValue @CheckForNull final V put(K key, V value) { checkNotNull(key); checkNotNull(value); clearCache(); return backingMap.put(key, value); } @CanIgnoreReturnValue @CheckForNull final V remove(Object key) { checkNotNull(key); clearCache(); return backingMap.remove(key);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
return result; } return new UnmodifiableMultiset<>(checkNotNull(multiset)); } /** * Simply returns its argument. * * @deprecated no need to use this * @since 10.0 */ @Deprecated public static <E> Multiset<E> unmodifiableMultiset(ImmutableMultiset<E> multiset) { return checkNotNull(multiset); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
return result; } return new UnmodifiableMultiset<>(checkNotNull(multiset)); } /** * Simply returns its argument. * * @deprecated no need to use this * @since 10.0 */ @Deprecated public static <E> Multiset<E> unmodifiableMultiset(ImmutableMultiset<E> multiset) { return checkNotNull(multiset); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
Iterator<? extends T> a, Iterator<? extends T> b, Iterator<? extends T> c, Iterator<? extends T> d) { checkNotNull(a); checkNotNull(b); checkNotNull(c); checkNotNull(d); return concat(consumingForArray(a, b, c, d)); } /** * Combines multiple iterators into a single iterator. The returned iterator iterates across the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
return connections; } @Override @CanIgnoreReturnValue public boolean addEdge(N nodeU, N nodeV, E edge) { checkNotNull(nodeU, "nodeU"); checkNotNull(nodeV, "nodeV"); checkNotNull(edge, "edge"); if (containsEdge(edge)) { EndpointPair<N> existingIncidentNodes = incidentNodes(edge);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
return new String(factoryExpectedForNothing, UTF_8) + checkNotNull(data); } @Override public void tearDown() throws IOException { factory.tearDown(); } }; } public static ByteSourceFactory asSlicedByteSourceFactory( final ByteSourceFactory factory, final long off, final long len) { checkNotNull(factory); return new ByteSourceFactory() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>(); future.complete(checkNotNull(error)); return future; } public static <V> ListenableFuture<V> throwingRuntimeException(RuntimeException e) { UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>(); future.complete(checkNotNull(e)); return future; } public static <V> UncheckedThrowingFuture<V> incomplete() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Range.java
* @since 14.0 */ public static <C extends Comparable<?>> Range<C> range( C lower, BoundType lowerType, C upper, BoundType upperType) { checkNotNull(lowerType); checkNotNull(upperType); Cut<C> lowerBound = (lowerType == BoundType.OPEN) ? Cut.aboveValue(lower) : Cut.belowValue(lower); Cut<C> upperBound =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* message otherwise. * * @return {@code reference}, guaranteed to be non-null, for convenience * @throws VerifyException if {@code reference} is {@code null} * @see Preconditions#checkNotNull Preconditions.checkNotNull() */ @CanIgnoreReturnValue public static <T> T verifyNotNull(@CheckForNull T reference) { return verifyNotNull(reference, "expected a non-null reference"); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0)