- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 178 for subclass (0.1 sec)
-
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) -
android/guava/src/com/google/common/collect/ForwardingList.java
/** * A list which forwards all its method calls to another list. Subclasses should override one or * more methods to modify the behavior of the backing list as desired per the <a * 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. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
package com.google.common.graph; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.base.Supplier; import com.google.common.collect.ForwardingSet; import java.util.Set; /** * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method * (except `hashCode` and `equals`) if the provided `Supplier` returns false. */ final class InvalidatableSet<E> extends ForwardingSet<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
} /** * Must be called at the end of each subclass's constructor. This method performs the "real" * initialization; we can't put this in the constructor because, in the case where futures are * already complete, we would not initialize the subclass before calling {@link * #collectValueFromNonCancelledFuture}. As this is called after the subclass is constructed,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K 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/TreeTraverser.java
/** Constructor for use by subclasses. */ public TreeTraverser() {} /** * Returns a tree traverser that uses the given function to navigate from a node to its children. * This is useful if the function instance already exists, or so that you can supply a lambda * expressions. If those circumstances don't apply, you probably don't need to use this; subclass
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
* more efficient implementation. * * @author James Sexton * @param <N> Node parameter type * @param <V> Value parameter type * @since 20.0 */ @Beta public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N> implements ValueGraph<N, V> { /** Constructor for use by subclasses. */ public AbstractValueGraph() {} @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
import org.jspecify.annotations.Nullable; /** * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide * target iterators on demand. It also requires three additional constructor parameters: {@code * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K 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.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0)