- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 1,326 for nullable (0.05 seconds)
-
guava-testlib/src/com/google/common/testing/DummyProxy.java
abstract <R> @Nullable R dummyReturnValue(TypeToken<R> returnType); private final class DummyHandler extends AbstractInvocationHandler implements Serializable { private final TypeToken<?> interfaceType; DummyHandler(TypeToken<?> interfaceType) { this.interfaceType = interfaceType; } @Override protected @Nullable Object handleInvocation(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java
package com.google.common.util.concurrent; import static com.google.common.collect.Sets.newHashSet; import java.util.Set; import org.jspecify.annotations.Nullable; /** Emulation of AggregateFutureState. */ abstract class AggregateFutureState<OutputT extends @Nullable Object> extends AbstractFuture.TrustedFuture<OutputT> { // Lazily initialized the first time we see an exception; not released until all the input futures
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
@Override public boolean equals(@Nullable Object o) { return false; } @Override public int hashCode() { return super.hashCode(); } } /** Test class that returns true if the test object is null */ private static class InvalidEqualsNullObject { @Override public boolean equals(@Nullable Object o) { return o == this || o == null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} }; } @LazyInit private transient @Nullable ImmutableList<E> asList; @Override public ImmutableList<E> asList() { ImmutableList<E> result = asList; return (result == null) ? asList = super.asList() : result; } @Override public boolean contains(@Nullable Object object) { return count(object) > 0; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
*/ <T extends @NonNull B> @Nullable T getInstance(Class<T> type); /** * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is * present. This will only return a value that was bound to this specific type, not a value that * may have been bound to a subtype. */ <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java
* object being processed or any application-specific state information. May be null if no * additional data is needed. */ public record RequestTrace( @Nullable String context, @Nullable RequestTrace parent, @Nullable Object data) { public static final String CONTEXT_PLUGIN = "plugin"; public static final String CONTEXT_PROJECT = "project";
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 2.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
@Nonnull Session session, @Nullable RequestTrace trace, @Nullable Path path, @Nullable Source source, boolean allowStubModel, boolean recursive, boolean processPlugins, @Nullable List<RemoteRepository> repositories) { super(session, trace);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import org.jspecify.annotations.Nullable; /** * Basic implementation of {@code Multiset<E>} backed by an instance of {@code Map<E, Count>}. * * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code * writeObject} methods. * * @author Kevin Bourrillion */ @GwtCompatible abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
@GwtCompatible @J2ktIncompatible public final class EnumHashBiMap<K extends Enum<K>, V extends @Nullable Object> extends AbstractBiMap<K, V> { transient Class<K> keyTypeOrObjectUnderJ2cl; /** * Returns a new, empty {@code EnumHashBiMap} using the specified key type. * * @param keyType the key type */ public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create( Class<K> keyType) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
*/ <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue); /** * Gets the session data associated with the specified key. * * @param key the key for which to retrieve the session data, must not be {@code null} * @return the session data associated with the key or {@code null} if none */ @Nullable <T> T get(@Nonnull Key<T> key); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0)