Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RegularImmutableAsList (0.19 sec)

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

        return offset + elements.length;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return (table.length == 0)
            ? ImmutableList.<E>of()
            : new RegularImmutableAsList<E>(this, elements);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int hashCode() {
        return hashCode;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

        switch (size()) {
          case 0:
            return ImmutableList.of();
          case 1:
            return ImmutableList.of(iterator().next());
          default:
            return new RegularImmutableAsList<>(this, toArray());
        }
      }
    
      /**
       * Returns {@code true} if this immutable collection's implementation contains references to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top