Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UnmodifiableSortedMultiset (0.17 sec)

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

    /**
     * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)} for GWT.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    final class UnmodifiableSortedMultiset<E extends @Nullable Object> extends UnmodifiableMultiset<E>
        implements SortedMultiset<E> {
      UnmodifiableSortedMultiset(SortedMultiset<E> delegate) {
        super(delegate);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return (NavigableSet<E>) super.elementSet();
      }
    
      @LazyInit @CheckForNull private transient UnmodifiableSortedMultiset<E> descendingMultiset;
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        UnmodifiableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
          result = new UnmodifiableSortedMultiset<>(delegate().descendingMultiset());
          result.descendingMultiset = this;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return Multisets.unmodifiableSortedMultiset(TreeMultiset.create(asList(elements)));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            sort(insertionOrder);
            return insertionOrder;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return Multisets.unmodifiableSortedMultiset(TreeMultiset.create(asList(elements)));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            sort(insertionOrder);
            return insertionOrder;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top