Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ForwardingList (0.22 sec)

  1. 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
    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)
  2. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. 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) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FilteredKeyMultimap.java

        @Override
        protected Set<V> delegate() {
          return Collections.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) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        @Override
        protected Set<V> delegate() {
          return Collections.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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  9. 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();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/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();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top