- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 815 for Nullable (0.06 sec)
-
guava/src/com/google/common/collect/SortedIterables.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtCompatible; import java.util.Comparator; import java.util.SortedSet; import org.checkerframework.checker.nullness.qual.Nullable; /** * Utilities for dealing with sorted collections of all types. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault final class SortedIterables {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import org.checkerframework.checker.nullness.qual.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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
*/ package com.google.common.hash; import com.google.common.annotations.Beta; import com.google.errorprone.annotations.DoNotMock; import java.io.Serializable; import org.checkerframework.checker.nullness.qual.Nullable; /** * An object which can send data from an object of type {@code T} into a {@code PrimitiveSink}. * Implementations for common types can be found in {@link Funnels}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import java.util.Collection; import java.util.List; import org.checkerframework.checker.nullness.qual.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.checkerframework.checker.nullness.qual.Nullable; /** * {@link FluentFuture} that forwards all calls to a delegate. * * <h3>Extension</h3> * * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/base/AbstractIterator.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency * reasons). */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> { private State state = State.NOT_READY;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java
import java.util.TreeMap; import org.checkerframework.checker.nullness.qual.Nullable; /** * Test cases for {@link Tables#newCustomTable}. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public class NewCustomTableTest extends AbstractTableTest<Character> { @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { Supplier<TreeMap<Integer, Character>> factory =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.cache.LocalCache.Segment; import org.checkerframework.checker.nullness.qual.Nullable; /** * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}. * * @author Charles Fry */ @SuppressWarnings("CheckReturnValue") public class ChainBenchmark {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** Unit tests for {@link Futures#getDone}. */ @GwtCompatible public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
@CanIgnoreReturnValue // pushed down from class to method @Override public @Nullable E poll() { final Monitor monitor = this.monitor; monitor.enter(); try { return q.poll(); } finally { monitor.leave(); } } @CanIgnoreReturnValue // pushed down from class to method @Override public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0)