- Sort Score
- Num 10 results
- Language All
Results 3091 - 3100 of 4,888 for extend (0.04 seconds)
-
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
/** * Tests for {@link StandardSystemProperty}. * * @author Kurt Alfred Kluever */ @J2ktIncompatible @GwtIncompatible @NullUnmarked public class StandardSystemPropertyTest extends TestCase { public void testGetKeyMatchesString() { for (StandardSystemProperty property : StandardSystemProperty.values()) { String fieldName = property.name();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @author David Beaumont */ @GwtCompatible @NullUnmarked public class ArrayBasedEscaperMapTest extends TestCase { @SuppressWarnings("nullness") // test of a bogus call public void testNullMap() { assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null)); } public void testEmptyMap() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestOutputStream.java
import java.io.IOException; import java.io.OutputStream; import java.util.Arrays; import org.jspecify.annotations.NullUnmarked; /** * @author Colin Decker */ @NullUnmarked public class TestOutputStream extends FilterOutputStream { private final ImmutableSet<TestOption> options; private boolean closed; public TestOutputStream(OutputStream out, TestOption... options) throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ForwardingGraph.java
* currently planned to be released as a general-purpose forwarding class. * * @author James Sexton */ abstract class ForwardingGraph<N> extends AbstractGraph<N> { abstract BaseGraph<N> delegate(); @Override public Set<N> nodes() { return delegate().nodes(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
* } * }; * } * * @author Chris Povirk * @since 12.0 (in Guava as {@code AbstractLinkedIterator} since 8.0) */ @GwtCompatible public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> { private @Nullable T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import org.jspecify.annotations.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @NullMarked public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> { private final TestContainerGenerator<T, E> generator; private final CollectionSize collectionSize;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapClearTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) public void testClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().clear(); assertTrue(getMap().isEmpty());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListRemoveAllTester<E> extends AbstractListTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = {ZERO, ONE}) public void testRemoveAll_duplicate() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class QueuePollTester<E> extends AbstractQueueTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
import java.lang.reflect.Method; import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Tests for {@link Reflection} */ @NullUnmarked public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang"); assertThat(Reflection.getPackageName("java.MyType")).isEqualTo("java");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0)