Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UnmodifiableSortedMultiset (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/collect/Multisets.java

       * @return an unmodifiable view of the multiset
       * @since 11.0
       */
      public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset(
          SortedMultiset<E> sortedMultiset) {
        // it's in its own file so it can be emulated for GWT
        return new UnmodifiableSortedMultiset<>(checkNotNull(sortedMultiset));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multisets.java

       * @return an unmodifiable view of the multiset
       * @since 11.0
       */
      public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset(
          SortedMultiset<E> sortedMultiset) {
        // it's in its own file so it can be emulated for GWT
        return new UnmodifiableSortedMultiset<>(checkNotNull(sortedMultiset));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top