- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 198 for subclass (0.54 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.jspecify.annotations.NullUnmarked; /** * Tester for typical subclass of {@link ForwardingObject} by using Mockito. * * @author Ben Yu */ @NullUnmarked final class ForwardingObjectTester { private static final Method DELEGATE_METHOD; static { try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapRetrievalCache.java
} value = getWithoutCaching(key); if (value != null) { addToCache((K) key, value); } return value; } // Internal methods (package-visible, but treat as only subclass-visible) @Override @Nullable V getIfCached(@Nullable Object key) { V value = super.getIfCached(key); if (value != null) { return value; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test void testIsInstanceOfTransportException() { // Verify that RequestTimeoutException is a subclass of TransportException RequestTimeoutException exception = new RequestTimeoutException(); assertTrue(exception instanceof TransportException, "RequestTimeoutException should be an instance of TransportException");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
public void remove() { throw new IllegalStateException() { /* subclass */ }; } @Override public Integer next() { throw new NoSuchElementException() { /* subclass */ }; } @Override public boolean hasNext() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
/* * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific * subclass below. That's because the Entry might be non-terminal in the key bucket but terminal * in the value bucket (or vice versa). */ private final transient @Nullable ImmutableMapEntry<K, V> nextInKeyBucket;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
* result extraction, header encoding/decoding, and the round-trip of an * encode/decode operation. */ public class DcerpcMessageTest { /** * A trivial concrete subclass used for testing. It simply writes a * single small value in {@code encode_in} and reads it in * {@code decode_out}. */ private static class TestMessage extends DcerpcMessage {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
* ForwardingNavigableMap#navigableKeySet} to forward to this implementation or a subclass * thereof. * * @since 12.0 */ protected class StandardNavigableKeySet extends Maps.NavigableKeySet<K, V> { /** Constructor for use by subclasses. */ public StandardNavigableKeySet() { super(ForwardingNavigableMap.this); } } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* ForwardingNavigableMap#navigableKeySet} to forward to this implementation or a subclass * thereof. * * @since 12.0 */ protected class StandardNavigableKeySet extends Maps.NavigableKeySet<K, V> { /** Constructor for use by subclasses. */ public StandardNavigableKeySet() { super(ForwardingNavigableMap.this); } } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
* ForwardingSortedMap}. In many cases, you may wish to override {@link * ForwardingSortedMap#keySet} to forward to this implementation or a subclass thereof. * * @since 15.0 */ protected class StandardKeySet extends Maps.SortedKeySet<K, V> { /** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingSortedMap.this); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardRowSortedTable.java
* single row key may or may not be ordered, depending on the implementation. When rows and columns * are both sorted, it's easier to use the {@link TreeBasedTable} subclass. * * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link * Table} interface. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 4.4K bytes - Viewed (0)