- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 925 for callable (0.08 sec)
-
android/guava/src/com/google/common/collect/ReverseOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** An ordering that uses the reverse of a given order. */ @GwtCompatible final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable { final Ordering<? super T> forwardOrder; ReverseOrdering(Ordering<? super T> forwardOrder) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
import java.lang.ref.WeakReference; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@code AbstractIterator}. * * @author Kevin Bourrillion */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible @NullMarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
.testEquals(); } public void testOfEntriesNull() { Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23); assertThrows( NullPointerException.class, () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null); assertThrows( NullPointerException.class,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
} } /** Builds a new open-addressed hash table from the first n objects in elements. */ static @Nullable Object[] rebuildHashTable(int newTableSize, Object[] elements, int n) { @Nullable Object[] hashTable = new @Nullable Object[newTableSize]; int mask = hashTable.length - 1; for (int i = 0; i < n; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
public void testCopyOfNullKey() { ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create(); input.put(null, 1); assertThrows( NullPointerException.class, () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input)); } public void testCopyOfNullValue() { ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
private static final class AlwaysEqual extends Ordering<@Nullable Object> implements Serializable { private static final AlwaysEqual INSTANCE = new AlwaysEqual(); @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(@Nullable Object o1, @Nullable Object o2) { return 0; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * Skeleton implementation of {@link HashFunction} in terms of {@link #newHasher()}. * * <p>TODO(lowasser): make public */ @Immutable abstract class AbstractHashFunction implements HashFunction { @Override public <T extends @Nullable Object> HashCode hashObject( @ParametricNullness T instance, Funnel<? super T> funnel) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MultiReader.java
import java.io.Reader; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * A {@link Reader} that concatenates multiple readers. * * @author Bin Zhu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible final class MultiReader extends Reader { private final Iterator<? extends CharSource> it; private @Nullable Reader current;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
import com.google.common.annotations.GwtCompatible; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Defaults.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.Nullable; /** * This class provides default values for all Java types, as defined by the JLS. * * @author Ben Yu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Defaults {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0)