/libcore/ojluni/src/main/java/java/util/ |
D | SortedSet.java | 108 public interface SortedSet<E> extends Set<E> { interface 151 SortedSet<E> subSet(E fromElement, E toElement); in subSet() 178 SortedSet<E> headSet(E toElement); in headSet() 205 SortedSet<E> tailSet(E fromElement); in tailSet() 260 return SortedSet.this.comparator(); in spliterator()
|
D | NavigableSet.java | 90 public interface NavigableSet<E> extends SortedSet<E> { 300 SortedSet<E> subSet(E fromElement, E toElement); in subSet() 311 SortedSet<E> headSet(E toElement); in headSet() 322 SortedSet<E> tailSet(E fromElement); in tailSet()
|
D | TreeSet.java | 170 public TreeSet(SortedSet<E> s) { in TreeSet() 301 c instanceof SortedSet && in addAll() 303 SortedSet<? extends E> set = (SortedSet<? extends E>) c; in addAll() 360 public SortedSet<E> subSet(E fromElement, E toElement) { in subSet() 371 public SortedSet<E> headSet(E toElement) { in headSet() 382 public SortedSet<E> tailSet(E fromElement) { in tailSet()
|
D | PriorityQueue.java | 190 if (c instanceof SortedSet<?>) { in PriorityQueue() 191 SortedSet<? extends E> ss = (SortedSet<? extends E>) c; in PriorityQueue() 240 public PriorityQueue(SortedSet<? extends E> c) { in PriorityQueue()
|
D | Collections.java | 1197 public static <T> SortedSet<T> unmodifiableSortedSet(SortedSet<T> s) { in unmodifiableSortedSet() 1206 implements SortedSet<E>, Serializable { 1208 private final SortedSet<E> ss; 1210 UnmodifiableSortedSet(SortedSet<E> s) {super(s); ss = s;} in UnmodifiableSortedSet() 1214 public SortedSet<E> subSet(E fromElement, E toElement) { in subSet() 1217 public SortedSet<E> headSet(E toElement) { in headSet() 1220 public SortedSet<E> tailSet(E fromElement) { in tailSet() 2233 public static <T> SortedSet<T> synchronizedSortedSet(SortedSet<T> s) { 2242 implements SortedSet<E> 2246 private final SortedSet<E> ss; [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeSetTest.java | 20 import java.util.SortedSet; 59 final SortedSet<String> subSet = set.subSet("a", "c"); in testSubSetSerialization() 60 new SerializationTester<SortedSet<String>>(subSet, s) { in testSubSetSerialization() 61 @Override protected void verify(SortedSet<String> deserialized) { in testSubSetSerialization() 77 final SortedSet<String> subSet = set.subSet("a", false, "c", true); in testNavigableSubSetSerialization() 78 new SerializationTester<SortedSet<String>>(subSet, s) { in testNavigableSubSetSerialization() 79 @Override protected void verify(SortedSet<String> deserialized) { in testNavigableSubSetSerialization() 89 private void assertBounded(SortedSet<String> deserialized, boolean bounded) { in assertBounded()
|
D | OldTreeSetTest.java | 26 import java.util.SortedSet; 65 new TreeSet((SortedSet)null); in test_ConstructorLjava_util_SortedSet() 142 SortedSet sort = ts.headSet(new Integer(100)); in test_headSetLjava_lang_Object() 184 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]); in test_subSetLjava_lang_ObjectLjava_lang_Object() 228 SortedSet sort = ts.tailSet(new Integer(101)); in test_tailSetLjava_lang_Object()
|
D | OldCollectionsTest.java | 35 import java.util.SortedSet; 718 && (a instanceof SortedSet == b instanceof SortedSet) in assertSerialized() 840 SortedSet ss = Collections.checkedSortedSet(ts, Integer.class); in test_checkedSortedSetLjava_util_SortedSetLjava_lang_Class()
|
/libcore/tools/crypto/src/java/libcore/java/security/ |
D | ProviderOverlap.java | 24 import java.util.SortedSet; 38 SortedSet<String> overlap = new TreeSet<>(conscrypt); in main()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_UnmodifiableCollectionTest.java | 23 import java.util.SortedSet; 73 SortedSet<Integer> ss = new TreeSet<Integer>(); in runTest()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | UnicodeLocaleExtension.java | 40 import java.util.SortedSet; 59 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) { in UnicodeLocaleExtension()
|
D | LocaleExtensions.java | 39 import java.util.SortedSet; 103 SortedSet<String> uaset = null; in LocaleExtensions()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSubSetTest.java | 14 import java.util.SortedSet; 503 SortedSet sm = set.subSet(two, four); in testSubSetContents() 534 SortedSet sm = set.subSet(two, three); in testSubSetContents2() 564 SortedSet sm = set.headSet(four); in testHeadSetContents() 590 SortedSet sm = set.tailSet(two); in testTailSetContents() 608 SortedSet ssm = sm.tailSet(four); in testTailSetContents() 992 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents() 1023 SortedSet sm = set.subSet(m2, m3); in testDescendingSubSetContents2() 1053 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents() 1079 SortedSet sm = set.tailSet(m2); in testDescendingTailSetContents() [all …]
|
D | ConcurrentSkipListSubSetTest.java | 13 import java.util.SortedSet; 506 SortedSet sm = set.subSet(two, four); in testSubSetContents() 537 SortedSet sm = set.subSet(two, three); in testSubSetContents2() 567 SortedSet sm = set.headSet(four); in testHeadSetContents() 593 SortedSet sm = set.tailSet(two); in testTailSetContents() 611 SortedSet ssm = sm.tailSet(four); in testTailSetContents() 1005 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents() 1036 SortedSet sm = set.subSet(m2, m3); in testDescendingSubSetContents2() 1066 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents() 1092 SortedSet sm = set.tailSet(m2); in testDescendingTailSetContents() [all …]
|
D | TreeSetTest.java | 18 import java.util.SortedSet; 552 SortedSet sm = set.subSet(two, four); in testSubSetContents() 583 SortedSet sm = set.subSet(two, three); in testSubSetContents2() 613 SortedSet sm = set.headSet(four); in testHeadSetContents() 639 SortedSet sm = set.tailSet(two); in testTailSetContents() 657 SortedSet ssm = sm.tailSet(four); in testTailSetContents()
|
D | ConcurrentSkipListSetTest.java | 18 import java.util.SortedSet; 549 SortedSet sm = set.subSet(two, four); in testSubSetContents() 580 SortedSet sm = set.subSet(two, three); in testSubSetContents2() 610 SortedSet sm = set.headSet(four); in testHeadSetContents() 636 SortedSet sm = set.tailSet(two); in testTailSetContents() 654 SortedSet ssm = sm.tailSet(four); in testTailSetContents()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 161 public static <T> java.util.SortedSet<T> unmodifiableSortedSet(java.util.SortedSet<T> s) { in unmodifiableSortedSet() 206 public static <T> java.util.SortedSet<T> synchronizedSortedSet(java.util.SortedSet<T> s) { in synchronizedSortedSet() 255 public static <E> java.util.SortedSet<E> checkedSortedSet( in checkedSortedSet() 256 java.util.SortedSet<E> s, java.lang.Class<E> type) { in checkedSortedSet() 303 public static <E> java.util.SortedSet<E> emptySortedSet() { in emptySortedSet() 1356 implements java.util.SortedSet<E>, java.io.Serializable { 1358 CheckedSortedSet(java.util.SortedSet<E> s, java.lang.Class<E> type) { in CheckedSortedSet() 1375 public java.util.SortedSet<E> subSet(E fromElement, E toElement) { in subSet() 1379 public java.util.SortedSet<E> headSet(E toElement) { in headSet() 1383 public java.util.SortedSet<E> tailSet(E fromElement) { in tailSet() [all …]
|
D | PriorityQueue.java | 57 public PriorityQueue(java.util.SortedSet<? extends E> c) { in PriorityQueue()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 47 import java.util.SortedSet; 153 public ConcurrentSkipListSet(SortedSet<E> s) { in ConcurrentSkipListSet()
|
D | PriorityBlockingQueue.java | 46 import java.util.SortedSet; 250 if (c instanceof SortedSet<?>) { in PriorityBlockingQueue() 251 SortedSet<? extends E> ss = (SortedSet<? extends E>) c; in PriorityBlockingQueue()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Collections.annotated.java | 78 … static <T> java.util.SortedSet<@libcore.util.NullFromTypeParam T> unmodifiableSortedSet(@libcore.… in unmodifiableSortedSet() 94 … static <T> java.util.SortedSet<@libcore.util.NullFromTypeParam T> synchronizedSortedSet(@libcore.… in synchronizedSortedSet() 112 …lic static <E> java.util.SortedSet<@libcore.util.NullFromTypeParam E> checkedSortedSet(@libcore.ut… in checkedSortedSet() 132 @libcore.util.NonNull public static <E> java.util.SortedSet<@libcore.util.NullFromTypeParam E> empt… in emptySortedSet()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeSetTest.java | 30 import java.util.SortedSet; 276 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]); in test_subSetLjava_lang_ObjectLjava_lang_Object()
|
D | Collections2Test.java | 41 import java.util.SortedSet; 439 assertFalse(c instanceof SortedSet); in test_checkedSetSerializationCompatability() 452 SortedSet<String> c = new TreeSet<String>(); in test_checkedSortedSetSerializationCompatability()
|
D | PriorityQueueTest.java | 29 import java.util.SortedSet; 405 new PriorityQueue<Integer>((SortedSet<? extends Integer>) null); in test_ConstructorLjava_util_SortedSet_null()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 55 import java.util.SortedSet; 136 static final SortedSet<String> SORTSET = new TreeSet<String>(Arrays.asList(new String[] {
|