Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for CachingAsList (0.07 seconds)

  1. guava/src/com/google/common/collect/ImmutableSet.java

      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      abstract static class CachingAsList<E> extends ImmutableSet<E> {
        @LazyInit @RetainedWith private transient @Nullable ImmutableList<E> asList;
    
        @Override
        public ImmutableList<E> asList() {
          ImmutableList<E> result = asList;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableSortedSet<E> extends ImmutableSet.CachingAsList<E>
        implements NavigableSet<E>, SortedIterable<E> {
      static final int SPLITERATOR_CHARACTERISTICS =
          ImmutableSet.SPLITERATOR_CHARACTERISTICS | Spliterator.SORTED;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
Back to Top