/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 3945 Set entrySet, headSet; 3958 headSet = descendingSubMapEntrySet.headSet(entry); 3959 headSetIterator = headSet.iterator(); 3971 headSet = descendingSubMapEntrySet.headSet(entry, false); 3972 headSetIterator = headSet.iterator(); 3984 headSet = descendingSubMapEntrySet.headSet(entry, true); 3985 headSetIterator = headSet.iterator(); 4006 headSet = descendingSubMapEntrySet.headSet(entry); 4007 headSetIterator = headSet.iterator(); 4019 headSet = descendingSubMapEntrySet.headSet(entry, false); [all …]
|
D | TreeSetTest.java | 203 Set s = ts.headSet(Integer.valueOf(100)); in test_headSetLjava_lang_Object()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeSetTest.java | 137 Set s = ts.headSet(Integer.valueOf(100)); in test_headSetLjava_lang_Object() 142 SortedSet sort = ts.headSet(Integer.valueOf(100)); in test_headSetLjava_lang_Object() 144 sort.headSet(Integer.valueOf(101)); in test_headSetLjava_lang_Object() 151 ts.headSet(this); in test_headSetLjava_lang_Object() 158 ts.headSet(null); in test_headSetLjava_lang_Object()
|
D | TreeSetTest.java | 147 Set<Integer> headset = set.headSet(-1, true); in testHeadSet() 152 headset = set.headSet(-1, false); in testHeadSet()
|
D | CollectionsTest.java | 1071 check_unmodifiableSet(set.headSet(sampleElement), absentElement); in check_unmodifiableNavigableSet() 1089 set.headSet(element), in check_navigableSet() 1092 set.headSet(element, false /* inclusive */), in check_navigableSet() 1095 set.headSet(element, true /* inclusive */), in check_navigableSet()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | EmptyNavigableSet.java | 194 () -> { NavigableSet ns = navigableSet.headSet(null, false); }, in testHeadSet() 198 () -> { NavigableSet ns = navigableSet.headSet(new Object(), true); }, in testHeadSet() 201 NavigableSet ns = navigableSet.headSet("1", false); in testHeadSet() 306 NavigableSet subSet = navigableSet.headSet(BigInteger.ONE, true); in testheadSetRanges() 309 subSet.headSet(BigInteger.ONE, true); in testheadSetRanges() 312 NavigableSet ns = subSet.headSet(BigInteger.ONE, false); in testheadSetRanges() 316 () -> ns.headSet(BigInteger.ONE, true), in testheadSetRanges() 320 subSet.headSet(isDescending(subSet) ? BigInteger.TEN : BigInteger.ZERO, true); in testheadSetRanges()
|
D | SyncSubMutexes.java | 63 … assertSame(getSyncCollectionMutex(instance.headSet("Echo")), getSyncCollectionMutex(instance)); in testSortedSets() 72 … assertSame(getSyncCollectionMutex(instance.headSet("Echo")), getSyncCollectionMutex(instance)); in testNavigableSets() 73 …assertSame(getSyncCollectionMutex(instance.headSet("Echo", true)), getSyncCollectionMutex(instance… in testNavigableSets() 192 …w Object[] {Collections.synchronizedSortedSet(new TreeSet<>(BASE_COLLECTION)).headSet("Foxtrot")}); in makeSortedSets() 205 …bject[] {Collections.synchronizedNavigableSet(new TreeSet<>(BASE_COLLECTION)).headSet("Foxtrot")}); in makeNavigableSets() 206 …[] {Collections.synchronizedNavigableSet(new TreeSet<>(BASE_COLLECTION)).headSet("Foxtrot", true)}… in makeNavigableSets()
|
/libcore/ojluni/src/main/java/java/util/ |
D | NavigableSet.java | 260 NavigableSet<E> headSet(E toElement, boolean inclusive); in headSet() method 311 SortedSet<E> headSet(E toElement); in headSet() method
|
D | TreeSet.java | 338 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in TreeSet 372 public SortedSet<E> headSet(E toElement) { in headSet() method in TreeSet 373 return headSet(toElement, false); in headSet()
|
D | ReverseOrderSortedSetView.java | 192 public SortedSet<E> headSet(E to) { in headSet() method in ReverseOrderSortedSetView 220 view = root.headSet(t); in descendingIterator() 358 public SortedSet<E> headSet(E to) { in headSet() method
|
D | SortedSet.java | 178 SortedSet<E> headSet(E toElement); in headSet() method
|
D | Collections.java | 1394 public SortedSet<E> headSet(E toElement) { in headSet() method in UnmodifiableSortedSet 1395 return new UnmodifiableSortedSet<>(ss.headSet(toElement)); in headSet() 1489 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in UnmodifiableNavigableSet 1491 ns.headSet(toElement, inclusive)); in headSet() 2575 public SortedSet<E> headSet(E toElement) { 2577 return new SynchronizedSortedSet<>(ss.headSet(toElement), mutex); 2682 public NavigableSet<E> headSet(E toElement) { 2684 return new SynchronizedNavigableSet<>(ns.headSet(toElement, false), mutex); 2699 public NavigableSet<E> headSet(E toElement, boolean inclusive) { 2701 return new SynchronizedNavigableSet<>(ns.headSet(toElement, inclusive), mutex); [all …]
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | NavigableSet.annotated.java | 67 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive); in headSet() method 73 public java.util.SortedSet<E> headSet(E toElement); in headSet() method
|
D | TreeSet.annotated.java | 62 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { throw new RuntimeExcepti… in headSet() method in TreeSet 68 public java.util.SortedSet<E> headSet(E toElement) { throw new RuntimeException("Stub!"); } in headSet() method in TreeSet
|
D | SortedSet.annotated.java | 36 public java.util.SortedSet<E> headSet(E toElement); in headSet() method
|
/libcore/ojluni/src/test/java/util/SequencedCollection/ |
D | SimpleSortedSet.java | 126 public SortedSet<E> headSet(E toElement) { in headSet() method in SimpleSortedSet 127 return set.headSet(toElement); in headSet()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 450 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ConcurrentSkipListSet 478 public NavigableSet<E> headSet(E toElement) { in headSet() method in ConcurrentSkipListSet 479 return headSet(toElement, false); in headSet()
|
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/ |
D | ConcurrentSkipListSet.annotated.java | 98 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { throw new RuntimeExcepti… in headSet() method in ConcurrentSkipListSet 104 public java.util.NavigableSet<E> headSet(E toElement) { throw new RuntimeException("Stub!"); } in headSet() method in ConcurrentSkipListSet
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ConcurrentSkipListSetTest.java | 110 Set<Integer> headset = set.headSet(-1, true); in testHeadSet() 115 headset = set.headSet(-1, false); in testHeadSet()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 1197 public java.util.NavigableSet<E> headSet(E toElement) { in headSet() method in Collections.CheckedNavigableSet 1210 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in Collections.CheckedNavigableSet 1379 public java.util.SortedSet<E> headSet(E toElement) { in headSet() method in Collections.CheckedSortedSet 2690 public java.util.NavigableSet<E> headSet(E toElement) { in headSet() method in Collections.SynchronizedNavigableSet 2703 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in Collections.SynchronizedNavigableSet 2839 public java.util.SortedSet<E> headSet(E toElement) { in headSet() method in Collections.SynchronizedSortedSet 3487 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in Collections.UnmodifiableNavigableSet 3627 public java.util.SortedSet<E> headSet(E toElement) { in headSet() method in Collections.UnmodifiableSortedSet
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentSkipListSetTest.java | 640 SortedSet sm = set.headSet(four); in testHeadSetContents() 827 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
|
D | TreeSetTest.java | 636 SortedSet sm = set.headSet(four); in testHeadSetContents() 822 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentSkipListSetTest.java | 610 SortedSet sm = set.headSet(four); in testHeadSetContents() 796 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
|
D | TreeSetTest.java | 613 SortedSet sm = set.headSet(four); in testHeadSetContents() 798 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | MOAT.java | 1139 testNavigableSet(ns.headSet(6, false)); in testCollection1() 1140 testNavigableSet(ns.headSet(5, true)); in testCollection1() 1523 check(m.navigableKeySet().headSet(86, true).remove(k)); }}, in testNavigableMapRemovers() 1531 check(m.descendingKeySet().headSet(-86, false).remove(k)); }}, in testNavigableMapRemovers()
|