- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 81 for show (0.03 sec)
-
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* } * }, executor); * }</pre> * * <h3>How to get an instance</h3> * * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will * create {@code ListenableFuture} instances depends on how you currently create {@code Future} * instances: * * <ul>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
fail("mismatch at index " + i + ": " + reportContext(expectedList)); } } } /** * Used to delay string formatting until actually required, as it otherwise shows up in the test * execution profile when running an extremely large numbers of tests. */ private String reportContext(List<E> expected) { return Platform.format(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
/** Tests for {@link AbstractSequentialIterator}. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class AbstractSequentialIteratorTest extends TestCase { @GwtIncompatible // Too slow public void testDoublerExhaustive() { new IteratorTester<Integer>( 3, UNMODIFIABLE, ImmutableList.of(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 17:19:08 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
*/ static class ExpensiveComputation implements Function<Integer, BigInteger> { @Override public BigInteger apply(Integer from) { BigInteger v = BigInteger.valueOf(from); // Math.sin is very slow for values outside 4*pi // Need to take absolute value to avoid inverting the value. for (double i = 0; i < 100; i += 20) { v = v.add( v.multiply(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
/** Returns the sample elements that this generate populates its container with. */ SampleElements<E> samples(); /** * Creates a new container containing the given elements. TODO: would be nice to figure out how to * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an * array of the erased type. */ T create(Object... elements); /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ReverseOrdering.java
} @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return forwardOrder.compare(b, a); } @SuppressWarnings("unchecked") // how to explain? @Override public <S extends T> Ordering<S> reverse() { return (Ordering<S>) forwardOrder; } // Override the min/max methods to "hoist" delegation outside loops @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 17 15:44:29 UTC 2021 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 12 20:58:36 UTC 2021 - 3.1K bytes - Viewed (0)