- Sort Score
- Result 10 results
- Languages All
Results 2331 - 2340 of 3,742 for Extend (0.21 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapToStringTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToStringEmpty() { assertEquals("{}", multimap().toString());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testValues() { List<V> expected = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetMultimapPutTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { // Tests for non-duplicate values are in MultimapPutTester @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionClearTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link DoubleUtils}. * * @author Louis Wasserman */ @NullUnmarked 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TransposedTableTest.java
import org.jspecify.annotations.Nullable; /** * Test cases for {@link Tables#transpose}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class TransposedTableTest extends AbstractTableTest<Character> { @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { Table<Integer, String, Character> original = HashBasedTable.create();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* the {@code ForwardingConcurrentMap}. * * @author Charles Fry * @since 2.0 */ @GwtCompatible 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
* * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
* non-null bound if possible, let's require a non-null bound here. * * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect." */ public abstract class TypeParameter<T> extends TypeCapture<T> { final TypeVariable<?> typeVariable; protected TypeParameter() { Type type = capture(); checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0)