Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for DescendingImmutableSortedSet (0.18 sec)

  1. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      private final ImmutableSortedSet<E> forward;
    
      DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) {
        super(Ordering.from(forward.comparator()).reverse());
        this.forward = forward;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      private final ImmutableSortedSet<E> forward;
    
      DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) {
        super(Ordering.from(forward.comparator()).reverse());
        this.forward = forward;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ContiguousSet.java

       */
      public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType);
    
      @Override
      @GwtIncompatible // NavigableSet
      ImmutableSortedSet<C> createDescendingSet() {
        return new DescendingImmutableSortedSet<>(this);
      }
    
      /** Returns a shorthand representation of the contents such as {@code "[1..100]"}. */
      @Override
      public String toString() {
        return range().toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ContiguousSet.java

       */
      public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType);
    
      @Override
      @GwtIncompatible // NavigableSet
      ImmutableSortedSet<C> createDescendingSet() {
        return new DescendingImmutableSortedSet<>(this);
      }
    
      /** Returns a shorthand representation of the contents such as {@code "[1..100]"}. */
      @Override
      public String toString() {
        return range().toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

              }
            }
            throw new AssertionError("impossible");
          }
          return -1;
        }
    
        @Override
        ImmutableSortedSet<C> createDescendingSet() {
          return new DescendingImmutableSortedSet<>(this);
        }
    
        @Override
        boolean isPartialView() {
          return ranges.isPartialView();
        }
    
        @Override
        public String toString() {
          return ranges.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

        if (result == null) {
          result = descendingSet = createDescendingSet();
          result.descendingSet = this;
        }
        return result;
      }
    
      // Most classes should implement this as new DescendingImmutableSortedSet<E>(this),
      // but we push down that implementation because ProGuard can't eliminate it even when it's always
      // overridden.
      @GwtIncompatible // NavigableSet
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        if (result == null) {
          result = descendingSet = createDescendingSet();
          result.descendingSet = this;
        }
        return result;
      }
    
      // Most classes should implement this as new DescendingImmutableSortedSet<E>(this),
      // but we push down that implementation because ProGuard can't eliminate it even when it's always
      // overridden.
      @GwtIncompatible // NavigableSet
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top