- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,303 for Nullable (0.05 seconds)
-
guava/src/com/google/common/collect/CollectPreconditions.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import org.jspecify.annotations.Nullable; /** Precondition checks useful in collection implementations. */ @GwtCompatible final class CollectPreconditions { static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) { if (key == null) { throw new NullPointerException("null key in entry: null=" + value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 10 21:56:42 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMapDifference.java
import com.google.common.annotations.GwtCompatible; import java.util.SortedMap; import org.jspecify.annotations.Nullable; /** * An object representing the differences between two sorted maps. * * @author Louis Wasserman * @since 8.0 */ @GwtCompatible public interface SortedMapDifference<K extends @Nullable Object, V extends @Nullable Object> extends MapDifference<K, V> { @Override SortedMap<K, V> entriesOnlyOnLeft();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFuture.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** * A {@link Future} which forwards all its method calls to another future. Subclasses should * override one or more methods to modify the behavior of the backing future as desired per the <aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
checkNotNull(service); checkNotNull(nameSupplier); return new WrappingExecutorService(service) { @Override protected <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable) { return threadRenaming(callable, nameSupplier); } @Override protected Runnable wrapTask(Runnable command) { return threadRenaming(command, nameSupplier); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
valueHolder.name = checkNotNull(name); return this; } // Holder object for values that might be null and/or empty. static class ValueHolder { @Nullable String name; @Nullable Object value; @Nullable ValueHolder next; } /** * Holder object for values that cannot be null or empty (will be printed unconditionally). This
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; import java.math.RoundingMode; import java.util.Arrays; import java.util.concurrent.atomic.AtomicLongArray; import org.jspecify.annotations.Nullable; /** * Collections of strategies of generating the k * log(M) bits required for an element to be mapped * to a BloomFilter of M bits and k hash functions. These strategies are part of the serialized form
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java
protected abstract ListeningExecutorService delegate(); @Override public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) { return delegate().submit(task); } @Override public ListenableFuture<?> submit(Runnable task) { return delegate().submit(task); } @Override public <T extends @Nullable Object> ListenableFuture<T> submit( Runnable task, @ParametricNullness T result) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphConnections.java
* if there is no such edge. */ @Nullable V value(N node); /** Remove {@code node} from the set of predecessors. */ void removePredecessor(N node); /** * Remove {@code node} from the set of successors. Returns the value previously associated with * the edge connecting the two nodes. */ @CanIgnoreReturnValue @Nullable V removeSuccessor(N node); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
return (prefix & ~mask) | (suffix & mask); } static int remove( @Nullable Object key, @Nullable Object value, int mask, Object table, int[] entries, @Nullable Object[] keys, @Nullable Object @Nullable [] values) { int hash = smearedHash(key); int tableIndex = hash & mask; int next = tableGet(table, tableIndex);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
*/ public static int main( String[] args, ClassWorld world, @Nullable InputStream stdIn, @Nullable OutputStream stdOut, @Nullable OutputStream stdErr) throws IOException { return new MavenUpCling(world).run(args, stdIn, stdOut, stdErr, true); } public MavenUpCling() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0)