- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 887 for Callable (0.56 sec)
-
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) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (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); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
List<@Nullable String> listWithNulls = asList("a", null, "b"); assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); Iterator<@Nullable String> iteratorWithNulls = Arrays.<@Nullable String>asList("a", null, "b").iterator(); assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
final C first = first(); @Override protected @Nullable C computeNext(C previous) { return equalsOrThrow(previous, first) ? null : domain.previous(previous); } }; } private static boolean equalsOrThrow(Comparable<?> left, @Nullable Comparable<?> right) { return right != null && Range.compareOrThrow(left, right) == 0; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Static methods used to implement {@link Futures#getChecked(Future, Class)}. */ @J2ktIncompatible @GwtIncompatible final class FuturesGetChecked { @CanIgnoreReturnValue @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( Future<V> future, Class<X> exceptionClass) throws X {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.containsRow(rowKey); } @Override public @Nullable V get(Object rowKey, Object columnKey) { assertTrue(Thread.holdsLock(mutex)); return delegate.get(rowKey, columnKey); } @Override public @Nullable V put(R rowKey, C columnKey, V value) { assertTrue(Thread.holdsLock(mutex));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
} } @Override public @Nullable Entry<E> firstEntry() { return delegate().firstEntry(); } /** * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}. * * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to * forward to this implementation. */ protected @Nullable Entry<E> standardFirstEntry() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* the License. */ package com.google.common.base; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * A class that can supply objects of a single type; a pre-Java-8 version of {@link * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0) -
android/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 =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0)