- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 178 for subclass (0.04 sec)
-
guava/src/com/google/common/collect/ForwardingObject.java
* {@code equals} would break symmetry, as the forwarding object might consider itself equal to the * object being tested, but the reverse could not be true. This behavior is consistent with the * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public void testSubtypeOfInnerClass_nonStaticAnonymousClass() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; Class<?> subclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
/** * A duplex request body is special in how it is **transmitted** on the network and * in the **API contract** between OkHttp and the application. * * This method returns false unless it is overridden by a subclass. * * ### Duplex Transmission * * With regular HTTP calls the request always completes sending before the response may begin
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* {@code equals} would break symmetry, as the forwarding object might consider itself equal to the * object being tested, but the reverse could not be true. This behavior is consistent with the * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. * * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMap.java
* {@link ForwardingMap#entrySet}. In many cases, you may wish to override {@link * ForwardingMap#keySet} to forward to this implementation or a subclass thereof. * * @since 10.0 */ protected class StandardKeySet extends Maps.KeySet<K, V> { /** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingMap.this); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
methodArgument = arg; } @Subscribe public void exceptionThrowingMethod(Object arg) throws Exception { throw new IntentionalException(); } /** Local exception subclass to check variety of exception thrown. */ class IntentionalException extends Exception { private static final long serialVersionUID = -2500191180248181379L; } @Subscribe
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
/** * Tests that all package-private {@code writeReplace} methods are overridden in any existing * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class * and its subclass in different packages, causing the serialization system to fail to invoke {@code * writeReplace} when serializing an instance of the subclass. For an example of this problem, see * b/310253115. */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this * implementation or a subclass thereof. * * @since 15.0 */ protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> { /** Constructor for use by subclasses. */ public StandardElementSet() { super(ForwardingSortedMultiset.this); } } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0)