/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 3437 NavigableSet descendingSet; in test_DescendingSubMapEntrySet_comparator() local 3444 descendingSet = ((NavigableSet) entrySet).descendingSet(); in test_DescendingSubMapEntrySet_comparator() 3446 comparator = descendingSet.comparator(); in test_DescendingSubMapEntrySet_comparator() 3449 entryArray = (Entry[]) descendingSet in test_DescendingSubMapEntrySet_comparator() 3450 .toArray(new Entry[descendingSet.size()]); in test_DescendingSubMapEntrySet_comparator() 3461 descendingSet = ((NavigableSet) entrySet).descendingSet(); in test_DescendingSubMapEntrySet_comparator() 3463 comparator = descendingSet.comparator(); in test_DescendingSubMapEntrySet_comparator() 3466 entryArray = (Entry[]) descendingSet in test_DescendingSubMapEntrySet_comparator() 3467 .toArray(new Entry[descendingSet.size()]); in test_DescendingSubMapEntrySet_comparator() 3478 descendingSet = ((NavigableSet) entrySet).descendingSet(); in test_DescendingSubMapEntrySet_comparator() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | NavigableSet.java | 185 NavigableSet<E> descendingSet(); in descendingSet() method 375 return this.descendingSet(); in reversed()
|
D | TreeSet.java | 201 public NavigableSet<E> descendingSet() { in descendingSet() method in TreeSet
|
D | Collections.java | 1479 public NavigableSet<E> descendingSet() in descendingSet() method in UnmodifiableNavigableSet 1480 { return new UnmodifiableNavigableSet<>(ns.descendingSet()); } in descendingSet() 1482 { return descendingSet().iterator(); } in descendingIterator() 2668 public NavigableSet<E> descendingSet() { 2670 return new SynchronizedNavigableSet<>(ns.descendingSet(), mutex); 2675 { synchronized (mutex) { return descendingSet().iterator(); } } 3747 public NavigableSet<E> descendingSet() 3748 { return checkedNavigableSet(ns.descendingSet(), type); } 3750 {return checkedNavigableSet(ns.descendingSet(), type).iterator(); }
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeSetTest.java | 116 NavigableSet<String> descendingSet = set.descendingSet(); in testDescendingSetSerialization() local 117 new SerializationTester<NavigableSet<String>>(descendingSet, s) { in testDescendingSetSerialization() argument
|
D | CollectionsTest.java | 1067 check_unmodifiableSet(set.descendingSet(), absentElement); in check_unmodifiableNavigableSet() 1084 check_orderedSet(set.descendingSet(), reverseOrder); in check_navigableSet()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | EmptyNavigableSet.java | 386 …Set(TreeSet.descendingSet()", Collections.unmodifiableNavigableSet(new TreeSet().descendingSet())}, in makeNavigableSets() 387 …endingSet()", Collections.unmodifiableNavigableSet(new TreeSet().descendingSet().descendingSet())}, in makeNavigableSets() 389 …w Object[]{"emptyNavigableSet().descendingSet()", Collections.emptyNavigableSet().descendingSet()}, in makeNavigableSets() 390 ….descendingSet().descendingSet()", Collections.emptyNavigableSet().descendingSet().descendingSet()} in makeNavigableSets()
|
D | CheckedSetBash.java | 172 (Supplier) () -> Collections.checkedSet(new TreeSet().descendingSet(), Integer.class)}, in makeCheckedSets() 178 … (Supplier) () -> Collections.checkedNavigableSet(new TreeSet().descendingSet(), Integer.class)}, in makeCheckedSets()
|
D | SyncSubMutexes.java | 71 … assertSame(getSyncCollectionMutex(instance.descendingSet()), getSyncCollectionMutex(instance)); in testNavigableSets() 204 …ections.synchronizedNavigableSet(new TreeSet<>(BASE_COLLECTION)).descendingSet().descendingSet()}); in makeNavigableSets()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentSkipListSetTest.java | 523 assertIteratorExhausted(s.descendingSet().iterator()); in testEmptyIterator() 707 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() 711 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() 814 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() 818 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() 832 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 838 bashSubSet(hm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 849 bashSubSet(tm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 855 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 875 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet() [all …]
|
D | TreeSetTest.java | 704 check(set.descendingSet(), 0, setSize - 1, false); in testRecursiveSubSets() 708 check(set.descendingSet(), 0, setSize - 1, false); in testRecursiveSubSets() 809 check(set.descendingSet(), min, max, !ascending); in bashSubSet() 813 check(set.descendingSet(), min, max, !ascending); in bashSubSet() 827 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 833 bashSubSet(hm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 844 bashSubSet(tm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 850 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 870 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet() 879 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet()
|
D | TreeSubSetTest.java | 106 NavigableSet s = q.descendingSet(); in dset5()
|
D | ConcurrentSkipListSubSetTest.java | 109 NavigableSet s = q.descendingSet(); in dset5()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentSkipListSetTest.java | 493 assertIteratorExhausted(s.descendingSet().iterator()); in testEmptyIterator() 677 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() 681 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() 783 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() 787 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() 801 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 807 bashSubSet(hm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 818 bashSubSet(tm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 824 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 844 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet() [all …]
|
D | TreeSetTest.java | 681 check(set.descendingSet(), 0, setSize - 1, false); in testRecursiveSubSets() 685 check(set.descendingSet(), 0, setSize - 1, false); in testRecursiveSubSets() 785 check(set.descendingSet(), min, max, !ascending); in bashSubSet() 789 check(set.descendingSet(), min, max, !ascending); in bashSubSet() 803 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 809 bashSubSet(hm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 820 bashSubSet(tm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 826 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 846 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet() 855 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet()
|
D | ConcurrentSkipListSubSetTest.java | 86 NavigableSet s = q.descendingSet(); in dset5()
|
D | TreeSubSetTest.java | 83 NavigableSet s = q.descendingSet(); in dset5()
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | NavigableSet.annotated.java | 61 public java.util.NavigableSet<E> descendingSet(); in descendingSet() method
|
D | TreeSet.annotated.java | 44 public java.util.NavigableSet<E> descendingSet() { throw new RuntimeException("Stub!"); } in descendingSet() method in TreeSet
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | BiggernYours.java | 102 compareCollections(s1.descendingSet(), in compareNavigableSets() 103 s2.descendingSet()); in compareNavigableSets()
|
D | MOAT.java | 1658 s.descendingSet().iterator()}) { in testNavigableSet() 1674 checkDescItrRmFirst(s, s.descendingSet().iterator()); in testNavigableSet() 1676 checkDescItrRmMid(s, s.descendingSet().iterator()); in testNavigableSet() 1678 checkDescItrRmLast(s, s.descendingSet().iterator()); in testNavigableSet()
|
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/ |
D | ConcurrentSkipListSet.annotated.java | 108 public java.util.NavigableSet<E> descendingSet() { throw new RuntimeException("Stub!"); } in descendingSet() method in ConcurrentSkipListSet
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 503 public NavigableSet<E> descendingSet() { in descendingSet() method in ConcurrentSkipListSet
|
D | ConcurrentSkipListMap.java | 2237 return descendingSet().iterator(); in descendingIterator() 2261 public NavigableSet<K> descendingSet() { in descendingSet() method in ConcurrentSkipListMap.KeySet
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 1185 public java.util.NavigableSet<E> descendingSet() { in descendingSet() method in Collections.CheckedNavigableSet 2678 public java.util.NavigableSet<E> descendingSet() { in descendingSet() method in Collections.SynchronizedNavigableSet 3474 public java.util.NavigableSet<E> descendingSet() { in descendingSet() method in Collections.UnmodifiableNavigableSet
|