- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for asSubclass (0.04 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
new ClassValue<Boolean>() { @Override protected Boolean computeValue(Class<?> type) { checkExceptionClassValidity(type.asSubclass(Exception.class)); return true; } }; @Override public void validateClass(Class<? extends Exception> exceptionClass) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many * 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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values * for that key. The subclass should not call {@link #createCollection()} directly, and a new * instance should be created every time the method is called. * * <p>For example, the subclass could pass a {@link java.util.TreeMap} during construction, and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K 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) -
guava/src/com/google/common/reflect/Types.java
private static ClassOwnership detectJvmBehavior() { class LocalClass<T> {} Class<?> subclass = new LocalClass<String>() {}.getClass(); // requireNonNull is safe because we're examining a type that's known to have a superclass. ParameterizedType parameterizedType = requireNonNull((ParameterizedType) subclass.getGenericSuperclass()); for (ClassOwnership behavior : ClassOwnership.values()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
android/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 Sep 05 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/ForwardingSortedMultiset.java
* {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many * 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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); assertNull(exception.getCause()); } public void test_inheritance() { // Test that ResultOffsetExceededException is a subclass of FessSystemException ResultOffsetExceededException exception = new ResultOffsetExceededException("Test message"); assertTrue(exception instanceof FessSystemException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertEquals("single", item.getInputsValue()); } public void test_getInputsValue_withNullInputs() { // Create item and then set inputs to null via reflection or subclass CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") { @Override public String getInputsValue() { // Simulate null inputs scenario
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.) * * <h3>Extension</h3> * * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that * forwards to that future and adds the desired methods.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0)