Home
last modified time | relevance | path

Searched refs:headSet (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DOldTreeSetTest.java137 Set s = ts.headSet(new Integer(100)); in test_headSetLjava_lang_Object()
142 SortedSet sort = ts.headSet(new Integer(100)); in test_headSetLjava_lang_Object()
144 sort.headSet(new Integer(101)); in test_headSetLjava_lang_Object()
151 ts.headSet(this); in test_headSetLjava_lang_Object()
158 ts.headSet(null); in test_headSetLjava_lang_Object()
/libcore/ojluni/src/main/java/java/util/
DTreeSet.java337 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in TreeSet
371 public SortedSet<E> headSet(E toElement) { in headSet() method in TreeSet
372 return headSet(toElement, false); in headSet()
DSortedSet.java178 SortedSet<E> headSet(E toElement); in headSet() method
DCollections.java1217 public SortedSet<E> headSet(E toElement) { in headSet() method in UnmodifiableSortedSet
1218 return new UnmodifiableSortedSet<>(ss.headSet(toElement)); in headSet()
1306 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in UnmodifiableNavigableSet
1308 ns.headSet(toElement, inclusive)); in headSet()
2267 public SortedSet<E> headSet(E toElement) {
2269 return new SynchronizedSortedSet<>(ss.headSet(toElement), mutex);
2371 public NavigableSet<E> headSet(E toElement) {
2373 return new SynchronizedNavigableSet<>(ns.headSet(toElement, false), mutex);
2388 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
2390 return new SynchronizedNavigableSet<>(ns.headSet(toElement, inclusive), mutex);
[all …]
DTreeMap.java1165 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in TreeMap.KeySet
1174 public SortedSet<E> headSet(E toElement) { in headSet() method in TreeMap.KeySet
1175 return headSet(toElement, false); in headSet()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListSet.java428 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ConcurrentSkipListSet
456 public NavigableSet<E> headSet(E toElement) { in headSet() method in ConcurrentSkipListSet
457 return headSet(toElement, false); in headSet()
DConcurrentSkipListMap.java2414 public NavigableSet<K> headSet(K toElement, boolean inclusive) { in headSet() method in ConcurrentSkipListMap.KeySet
2423 public NavigableSet<K> headSet(K toElement) { in headSet() method in ConcurrentSkipListMap.KeySet
2424 return headSet(toElement, false); in headSet()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeSetTest.java203 Set s = ts.headSet(new Integer(100)); in test_headSetLjava_lang_Object()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSetTest.java613 SortedSet sm = set.headSet(four); in testHeadSetContents()
798 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
DConcurrentSkipListSetTest.java610 SortedSet sm = set.headSet(four); in testHeadSetContents()
796 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
DTreeSubSetTest.java564 SortedSet sm = set.headSet(four); in testHeadSetContents()
1053 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents()
DConcurrentSkipListSubSetTest.java567 SortedSet sm = set.headSet(four); in testHeadSetContents()
1066 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentSkipListSetTest.java640 SortedSet sm = set.headSet(four); in testHeadSetContents()
827 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet()
DTreeSubSetTest.java587 SortedSet sm = set.headSet(four); in testHeadSetContents()
1076 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents()