Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for descendingMultiset (0.17 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset().tailMultiset(toElement, boundType).descendingMultiset();
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) {
        return forwardMultiset()
            .subMultiset(toElement, toBoundType, fromElement, fromBoundType)
            .descendingMultiset();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

      public Comparator<? super E> comparator() {
        return delegate().comparator();
      }
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        return delegate().descendingMultiset();
      }
    
      /**
       * A skeleton implementation of a descending multiset view. Normally, {@link
       * #descendingMultiset()} will not reflect any changes you make to the behavior of methods such as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

      private transient @Nullable UnmodifiableSortedMultiset<E> descendingMultiset;
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        UnmodifiableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
          result = new UnmodifiableSortedMultiset<E>(delegate().descendingMultiset());
          result.descendingMultiset = this;
          return descendingMultiset = result;
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      @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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      public abstract ImmutableSortedSet<E> elementSet();
    
      @LazyInit @CheckForNull transient ImmutableSortedMultiset<E> descendingMultiset;
    
      @Override
      public ImmutableSortedMultiset<E> descendingMultiset() {
        ImmutableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
          return descendingMultiset =
              this.isEmpty()
                  ? emptyMultiset(Ordering.from(comparator()).reverse())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                new ForwardingTestMultisetGenerator<E>(delegate) {
                  @Override
                  public SortedMultiset<E> create(Object... entries) {
                    return ((SortedMultiset<E>) super.create(entries)).descendingMultiset();
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
                    return ImmutableList.copyOf(super.order(insertionOrder)).reverse();
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        List<Entry<E>> ascending = new ArrayList<>();
        Iterators.addAll(ascending, sortedMultiset.entrySet().iterator());
        List<Entry<E>> descending = new ArrayList<>();
        Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator());
        Collections.reverse(descending);
        assertEquals(ascending, descending);
      }
    
      void expectAddFailure(SortedMultiset<E> multiset, Entry<E> entry) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top