- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ForwardingList (0.08 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 7.9K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingList}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingListTest extends TestCase { static final class StandardImplForwardingList<T> extends ForwardingList<T> { private final List<T> backingList; StandardImplForwardingList(List<T> backingList) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingList}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingListTest extends TestCase { static final class StandardImplForwardingList<T> extends ForwardingList<T> { private final List<T> backingList; StandardImplForwardingList(List<T> backingList) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
} @Override protected Set<V> delegate() { return emptySet(); } } static 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0)