Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 26 for DescendingMultiset (0.23 seconds)

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

      // the other {@code final} reference.
      @Override
      public SortedMultiset<E> descendingMultiset() {
        UnmodifiableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
          result = new UnmodifiableSortedMultiset<>(delegate().descendingMultiset());
          result.descendingMultiset = this;
          return descendingMultiset = result;
        }
        return result;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      }
    
      @Override
      public ImmutableSortedMultiset<E> descendingMultiset() {
        return forward;
      }
    
      @Override
      public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
        return forward.tailMultiset(upperBound, boundType).descendingMultiset();
      }
    
      @Override
      public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      }
    
      @Override
      public ImmutableSortedMultiset<E> descendingMultiset() {
        return forward;
      }
    
      @Override
      public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
        return forward.tailMultiset(upperBound, boundType).descendingMultiset();
      }
    
      @Override
      public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

      /**
       * Returns a {@link SortedSet} view of the distinct elements in this multiset. (Outside GWT, this
       * returns a {@code NavigableSet}.)
       */
      @Override
      SortedSet<E> elementSet();
    
      SortedMultiset<E> descendingMultiset();
    
      SortedMultiset<E> headMultiset(E upperBound, BoundType boundType);
    
      SortedMultiset<E> subMultiset(
          E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        protected SortedMultiset<E> delegate() {
          return backingMultiset;
        }
    
        @Override
        public SortedMultiset<E> descendingMultiset() {
          return new StandardDescendingMultiset() {
    
            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      public abstract ImmutableSortedSet<E> elementSet();
    
      @LazyInit transient @Nullable ImmutableSortedMultiset<E> descendingMultiset;
    
      @Override
      public ImmutableSortedMultiset<E> descendingMultiset() {
        ImmutableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
          return descendingMultiset =
              this.isEmpty()
                  ? emptyMultiset(Ordering.from(comparator()).reverse())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        protected SortedMultiset<E> delegate() {
          return backingMultiset;
        }
    
        @Override
        public SortedMultiset<E> descendingMultiset() {
          return new StandardDescendingMultiset() {
    
            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/SortedMultisets.java

          return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry());
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          return new NavigableElementSet<>(multiset().descendingMultiset());
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return descendingSet().iterator();
        }
    
        @Override
        public @Nullable E pollFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/SortedMultisets.java

          return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry());
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          return new NavigableElementSet<>(multiset().descendingMultiset());
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return descendingSet().iterator();
        }
    
        @Override
        public @Nullable E pollFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/SortedMultiset.java

       */
      @Override
      Iterator<E> iterator();
    
      /**
       * Returns a descending view of this multiset. Modifications made to either map will be reflected
       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
       * optionally including {@code upperBound} itself. The returned multiset is a view of this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top