Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for delegateList (0.17 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      ForwardingImmutableList() {}
    
      abstract List<E> delegateList();
    
      public int indexOf(@Nullable Object object) {
        return delegateList().indexOf(object);
      }
    
      public int lastIndexOf(@Nullable Object object) {
        return delegateList().lastIndexOf(object);
      }
    
      public E get(int index) {
        return delegateList().get(index);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

      private final ImmutableCollection<E> delegate;
      private final ImmutableList<? extends E> delegateList;
    
      RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) {
        this.delegate = delegate;
        this.delegateList = delegateList;
      }
    
      RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

      // serialized.
      E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

      RegularImmutableList(List<E> delegate) {
        // TODO(cpovirk): avoid redundant unmodifiableList wrapping
        this.delegate = unmodifiableList(delegate);
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedAsList.java

      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(
            size(),
            ImmutableList.SPLITERATOR_CHARACTERISTICS | Spliterator.SORTED | Spliterator.DISTINCT,
            delegateList()::get,
            comparator());
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top