Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegularImmutableSortedSet (0.16 sec)

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

    @SuppressWarnings({"serial", "rawtypes"})
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      static final RegularImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
          new RegularImmutableSortedSet<>(ImmutableList.<Comparable>of(), Ordering.natural());
    
      private final transient ImmutableList<E> elements;
    
      RegularImmutableSortedSet(ImmutableList<E> elements, Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      static final ImmutableSortedMultiset<?> NATURAL_EMPTY_MULTISET =
          new RegularImmutableSortedMultiset<>(Ordering.natural());
    
      @VisibleForTesting final transient RegularImmutableSortedSet<E> elementSet;
      private final transient long[] cumulativeCounts;
      private final transient int offset;
      private final transient int length;
    
      RegularImmutableSortedMultiset(Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedAsList.java

       */
      @Override
      ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) {
        ImmutableList<E> parentSubList = super.subListUnchecked(fromIndex, toIndex);
        return new RegularImmutableSortedSet<E>(parentSubList, comparator()).asList();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(
            size(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top