- Sort Score
- Result 10 results
- Languages All
Results 1471 - 1480 of 3,991 for extends (0.09 sec)
-
android/guava/src/com/google/common/cache/LongAdder.java
* high contention, expected throughput of this class is significantly higher, at the expense of * higher space consumption. * * <p>This class extends {@link Number}, but does not define methods such as {@code * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and * so are not useful as collection keys. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Tests for {@link EquivalenceTester}. * * @author Gregory Kick */ @GwtCompatible public class EquivalenceTesterTest extends TestCase { private EquivalenceTester<Object> tester; private MockEquivalence equivalenceMock; @Override public void setUp() throws Exception { super.setUp();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Test cases for {@link SettableFuture}. * * @author Sven Mawson */ public class SettableFutureTest extends TestCase { private SettableFuture<String> future; private ListenableFutureTester tester; @Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java
*/ public class DefaultEncryptInvoker extends LookupInvoker<EncryptOptions, EncryptInvokerRequest, DefaultEncryptInvoker.LocalContext> implements EncryptInvoker { @SuppressWarnings("VisibilityModifier") public static class LocalContext extends LookupInvokerContext<EncryptOptions, EncryptInvokerRequest, DefaultEncryptInvoker.LocalContext> {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
import org.eclipse.aether.resolution.ArtifactRequest; import org.eclipse.aether.resolution.ArtifactResult; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class RepositorySystemTest extends AbstractRepositoryTestCase { @Test void testResolveVersionRange() throws Exception { // VersionRangeResult resolveVersionRange( RepositorySystemSession session, VersionRangeRequest request )
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
/** * A hash-based implementation of {@link ImmutableMap}. * * @author Louis Wasserman */ @GwtCompatible(serializable = true, emulated = true) @ElementTypesAreNonnullByDefault final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> { private static final byte ABSENT = -1; // Max size is halved due to indexing into double-sized alternatingKeysAndValues private static final int BYTE_MAX_SIZE = 1 << (Byte.SIZE - 1); // 2^7 = 128
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
import java.util.concurrent.ExecutionException; /** * Unit tests for {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}. * * @author Nishant Thakkar */ public class FuturesTransformAsyncTest extends AbstractChainedListenableFutureTest<String> { protected static final int SLOW_OUTPUT_VALID_INPUT_DATA = 2; protected static final int SLOW_FUNC_VALID_INPUT_DATA = 3; private static final String RESULT_DATA = "SUCCESS";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* * <pre>{@code * someGraphAlgorithm(startNode, MyNode::getParents); * }</pre> * * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't * return a {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * <pre>{@code * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father())); * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
import junit.framework.TestCase; /** * Unit test for {@code AbstractIterator}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class AbstractIteratorTest extends TestCase { public void testDefaultBehaviorOfNextAndHasNext() { // This sample AbstractIterator returns 0 on the first call, 1 on the // second, then signals that it's reached the end of the data
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
* tested in {@link FuturesTest}. */ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class FluentFutureTest extends TestCase { public void testFromFluentFuture() { FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create()); assertThat(FluentFuture.from(f)).isSameInstanceAs(f); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0)