- Sort Score
- Result 10 results
- Languages All
Results 2821 - 2830 of 3,920 for extenders (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapEntrySetTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
} /** {@link RemovalListener} that adds all {@link RemovalNotification} objects to a queue. */ @GwtIncompatible // ConcurrentLinkedQueue static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
/** * Tests for CompactLinkedHashSet. * * @author Dimitris Andreou */ @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array public class CompactLinkedHashSetTest extends TestCase { public static Test suite() { List<Feature<?>> allFeatures = Arrays.<Feature<?>>asList( CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
/** * Tests {@link EmptyImmutableTable} * * @author Gregory Kick */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class EmptyImmutableTableTest extends AbstractImmutableTableTest { private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); @Override Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
import java.lang.reflect.Method; import java.math.BigInteger; import junit.framework.TestCase; /** * Tests for {@link DoubleUtils}. * * @author Louis Wasserman */ public class DoubleUtilsTest extends TestCase { @AndroidIncompatible // no FpUtils and no Math.nextDown in old versions public void testNextDown() throws Exception { Method jdkNextDown = getJdkNextDown(); for (double d : FINITE_DOUBLE_CANDIDATES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import java.util.Set; import junit.framework.TestCase; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class PrimitivesTest extends TestCase { public void testIsWrapperType() { assertThat(Primitives.isWrapperType(Void.class)).isTrue(); assertThat(Primitives.isWrapperType(void.class)).isFalse(); } public void testWrap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
*/ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") // uses writeReplace(), not default serialization @ElementTypesAreNonnullByDefault class RegularImmutableList<E> extends ImmutableList<E> { static final ImmutableList<Object> EMPTY = new RegularImmutableList<>(new Object[0], 0); // The first `size` elements are non-null. @VisibleForTesting final transient @Nullable Object[] array;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* the {@code ForwardingConcurrentMap}. * * @author Charles Fry * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V> implements ConcurrentMap<K, V> { /** Constructor for use by subclasses. */ protected ForwardingConcurrentMap() {} @Override protected abstract ConcurrentMap<K, V> delegate();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible(emulated = true) public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapContainsKeyTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(absent = ZERO) public void testContainsKeyYes() { assertTrue(multimap().containsKey(k0())); } public void testContainsKeyNo() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 3K bytes - Viewed (0)