- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,303 for Nullable (0.05 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Callable<@Nullable Void> completeSuccessfullyRunnable = () -> { if (currentFuture.get().set("set")) { numSuccessfulSetCalls.incrementAndGet(); } awaitUnchecked(barrier); return null; }; Callable<@Nullable Void> completeExceptionallyRunnable = new Callable<@Nullable Void>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Callable<@Nullable Void> completeSuccessfullyRunnable = () -> { if (currentFuture.get().set("set")) { numSuccessfulSetCalls.incrementAndGet(); } awaitUnchecked(barrier); return null; }; Callable<@Nullable Void> completeExceptionallyRunnable = new Callable<@Nullable Void>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
public Comparator<? super Cut<C>> comparator() { return Ordering.natural(); } @Override public boolean containsKey(@Nullable Object key) { return get(key) != null; } @Override public @Nullable Range<C> get(@Nullable Object key) { if (key instanceof Cut) { try { @SuppressWarnings("unchecked") // we catch CCEs Cut<C> cut = (Cut<C>) key;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 32.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/RemovalNotification.java
* * @since 19.0 */ public static <K, V> RemovalNotification<K, V> create( @Nullable K key, @Nullable V value, RemovalCause cause) { return new RemovalNotification<>(key, value, cause); } private RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { super(key, value); this.cause = checkNotNull(cause); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * An XML writer request. * * @since 4.0.0 * @param <T> the object type to read */ @Experimental public interface XmlWriterRequest<T> { @Nullable Path getPath(); @Nullable OutputStream getOutputStream(); @Nullable Writer getWriter(); @Nonnull T getContent();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Aug 10 22:21:50 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
@GwtIncompatible // not worth using in GWT for now final class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object> extends CompactHashMap<K, V> { // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement /** Creates an empty {@code CompactLinkedHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> create() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
private static final @Nullable Object jla = getJla(); /** * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to * find it when available. When this is null, use the slow way. */ @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static final @Nullable Method getStackTraceElementMethod =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingDeque.java
return delegate().offerLast(e); } @Override public @Nullable E peekFirst() { return delegate().peekFirst(); } @Override public @Nullable E peekLast() { return delegate().peekLast(); } @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this? @Override public @Nullable E pollFirst() { return delegate().pollFirst(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
this.entryIterable = (Iterable) entryIterable; } @Override public boolean containsKey(@Nullable Object key) { return get(key) != null; } @Override public @Nullable V get(@Nullable Object key) { if (key instanceof Range) { Range<?> range = (Range<?>) key;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/ReferenceEntry.java
@GwtIncompatible @J2ktIncompatible interface ReferenceEntry<K, V> { /** Returns the value reference from this entry. */ @Nullable ValueReference<K, V> getValueReference(); /** Sets the value reference for this entry. */ void setValueReference(ValueReference<K, V> valueReference); /** Returns the next entry in the chain. */ @Nullable ReferenceEntry<K, V> getNext(); /** Returns the entry's hash. */ int getHash();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.5K bytes - Click Count (0)