- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 105 for rubyclass (0.18 sec)
-
guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java
* * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same * approach but with a subclass rather than a superclass. * * <p>TODO(cpovirk): Consider applying this subclass approach to our other types. */ @GwtCompatible(emulated = true) abstract class ArrayListMultimapGwtSerializationDependencies<K, V> extends AbstractListMultimap<K, V> {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Oct 24 18:57:48 GMT 2019 - 1.5K bytes - Viewed (0) -
android/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
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/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. */ protected class StandardElementSet extends SortedMultisets.ElementSet<E> { /** Constructor for use by subclasses. */ public StandardElementSet() { super(ForwardingSortedMultiset.this);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
/** * {@link FluentFuture} that forwards all calls to a delegate. * * <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.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 05 22:27:35 GMT 2021 - 2.5K bytes - Viewed (0) -
android/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()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K 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.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 11 19:08:44 GMT 2023 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random * access, the {@code ForwardingList} subclass should implement the {@code RandomAccess} interface. * * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
} catch (NullPointerException expected) { } assertThat(future.isDone()).isFalse(); assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } /** Concrete subclass for testing. */ private static class TestedFuture<V> extends AbstractFuture<V> { private static <V> TestedFuture<V> create() { return new TestedFuture<V>(); } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
} /** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and * implement {@link #load load} instead. * * <p>The returned object is serializable if {@code supplier} is serializable. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
assertFalse(isInteger.apply(2.0f)); assertFalse(isInteger.apply("")); assertFalse(isInteger.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_subclass() { Predicate<@Nullable Object> isNumber = Predicates.instanceOf(Number.class); assertTrue(isNumber.apply(1)); assertTrue(isNumber.apply(2.0f)); assertFalse(isNumber.apply(""));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0)