- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for unmodifiableSortedMultiset (0.26 sec)
-
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) -
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) -
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) -
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) -
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) -
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)