- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 925 for callable (0.03 sec)
-
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
import com.google.common.annotations.GwtCompatible; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { checkNotNull(future); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java
import static com.google.common.base.Preconditions.checkState; import static java.util.Objects.requireNonNull; import java.util.Collections; import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A base implementation of {@link NetworkConnections} for undirected networks. * * @author James Sexton * @param <N> Node parameter type * @param <E> Edge parameter type */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
import java.math.RoundingMode; import java.util.SortedMap; import java.util.SortedSet; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link MultimapBuilder}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class MultimapBuilderTest extends TestCase { @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(comparator, elementSet.comparator()); } public void testNullAcceptingComparator() throws Exception { Comparator<@Nullable String> comparator = Ordering.<String>natural().<String>nullsFirst(); TreeMultiset<@Nullable String> ms = TreeMultiset.create(comparator); ms.add("b"); ms.add(null); ms.add("a"); ms.add("b"); ms.add(null, 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
import java.nio.charset.Charset; import java.util.concurrent.TimeUnit; import java.util.regex.Pattern; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection * access issues, if any. * * @author Ben Yu */ public class ForwardingWrapperTesterTest extends TestCase {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
import com.google.common.annotations.GwtCompatible; import com.google.common.primitives.Booleans; import com.google.errorprone.annotations.InlineMe; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
public void write(String str, int off, int len) { checkPositionIndexes(off, off + len, str.length()); } @Override public Writer append(@Nullable CharSequence csq) { return this; } @Override public Writer append(@Nullable CharSequence csq, int start, int end) { checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length()); return this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Collection; import java.util.concurrent.BlockingQueue; import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * A {@link BlockingQueue} which forwards all its method calls to another {@link BlockingQueue}. * Subclasses should override one or more methods to modify the behavior of the backing collection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.List; import java.util.Map; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * To be implemented by test generators of things that can contain elements. Such things include * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
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-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
import java.math.BigInteger; import java.util.Comparator; import java.util.PriorityQueue; import java.util.Queue; import java.util.Random; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Benchmarks to compare performance of MinMaxPriorityQueue and PriorityQueue. * * @author Sverre Sundsdal */ @NullUnmarked public class MinMaxPriorityQueueBenchmark {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0)