- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ForwardingList (0.05 sec)
-
android/guava/src/com/google/common/collect/ForwardingList.java
* * <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 * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
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-tests/test/com/google/common/collect/ForwardingListTest.java
import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@code ForwardingList}. * * @author Robert Konigsberg * @author Louis Wasserman */ @NullUnmarked public class ForwardingListTest extends TestCase { static final class StandardImplForwardingList<T> extends ForwardingList<T> { private final List<T> backingList; StandardImplForwardingList(List<T> backingList) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to * preserve equality behavior, or override {@code equals} directly. * * <p>The {@code toString} method is forwarded to the delegate. Although this class does not
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to * preserve equality behavior, or override {@code equals} directly. * * <p>The {@code toString} method is forwarded to the delegate. Although this class does not
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/src/com/google/common/collect/FilteredKeyMultimap.java
protected Set<V> delegate() { return emptySet(); } } private static final class AddRejectingList< K extends @Nullable Object, V extends @Nullable Object> extends ForwardingList<V> { @ParametricNullness final K key; AddRejectingList(@ParametricNullness K key) { this.key = key; } @Override public boolean add(@ParametricNullness V v) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
protected Set<V> delegate() { return emptySet(); } } private static final class AddRejectingList< K extends @Nullable Object, V extends @Nullable Object> extends ForwardingList<V> { @ParametricNullness final K key; AddRejectingList(@ParametricNullness K key) { this.key = key; } @Override public boolean add(@ParametricNullness V v) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Joiner.MapJoiner; import com.google.common.collect.ForwardingList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableMultimap; import com.google.common.testing.NullPointerTester; import java.io.IOException; import java.util.Arrays;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} @Override protected Set<E> delegate() { return infiniteCandidates.next(); } } private static final class MutatedOnQueryList<E> extends ForwardingList<E> { final Iterator<ImmutableList<E>> infiniteCandidates; MutatedOnQueryList(Iterable<ImmutableList<E>> infiniteCandidates) { this.infiniteCandidates = infiniteCandidates.iterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertTrue(elementsEqual(transform, transform(randomAccessList, SOME_FUNCTION))); } private static class ListIterationOnlyList<E> extends ForwardingList<E> { private final List<E> realDelegate; private ListIterationOnlyList(List<E> realDelegate) { this.realDelegate = realDelegate; } @Override public int size() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0)