Home
last modified time | relevance | path

Searched refs:inclusive (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentNavigableMap.java70 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap() argument
77 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive); in tailMap() argument
DConcurrentSkipListSet.java428 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
429 return new ConcurrentSkipListSet<E>(m.headMap(toElement, inclusive)); in headSet()
437 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
438 return new ConcurrentSkipListSet<E>(m.tailMap(fromElement, inclusive)); in tailSet()
DConcurrentSkipListMap.java2066 boolean inclusive) { in headMap() argument
2070 (this, null, false, toKey, inclusive, false); in headMap()
2079 boolean inclusive) { in tailMap() argument
2083 (this, fromKey, inclusive, null, false, false); in tailMap()
2414 public NavigableSet<K> headSet(K toElement, boolean inclusive) { in headSet() argument
2415 return new KeySet<>(m.headMap(toElement, inclusive)); in headSet()
2417 public NavigableSet<K> tailSet(K fromElement, boolean inclusive) { in tailSet() argument
2418 return new KeySet<>(m.tailMap(fromElement, inclusive)); in tailSet()
2962 public SubMap<K,V> headMap(K toKey, boolean inclusive) { in headMap() argument
2965 return newSubMap(null, false, toKey, inclusive); in headMap()
[all …]
/libcore/ojluni/src/main/java/java/util/
DNavigableSet.java260 NavigableSet<E> headSet(E toElement, boolean inclusive); in headSet() argument
289 NavigableSet<E> tailSet(E fromElement, boolean inclusive); in tailSet() argument
DTreeSet.java337 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
338 return new TreeSet<>(m.headMap(toElement, inclusive)); in headSet()
349 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
350 return new TreeSet<>(m.tailMap(fromElement, inclusive)); in tailSet()
DNavigableMap.java363 NavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap() argument
392 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive); in tailMap() argument
DTreeMap.java927 public NavigableMap<K,V> headMap(K toKey, boolean inclusive) { in headMap() argument
930 false, toKey, inclusive); in headMap()
941 public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
943 false, fromKey, inclusive, in tailMap()
1165 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
1166 return new KeySet<>(m.headMap(toElement, inclusive)); in headSet()
1168 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
1169 return new KeySet<>(m.tailMap(fromElement, inclusive)); in tailSet()
1420 final boolean inRange(Object key, boolean inclusive) { in inRange() argument
1421 return inclusive ? inRange(key) : inClosedRange(key); in inRange()
[all …]
DCollections.java1306 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
1308 ns.headSet(toElement, inclusive)); in headSet()
1311 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
1313 ns.tailSet(fromElement, inclusive)); in tailSet()
1997 public NavigableMap<K, V> headMap(K toKey, boolean inclusive)
1998 { return unmodifiableNavigableMap(nm.headMap(toKey, inclusive)); }
1999 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive)
2000 { return unmodifiableNavigableMap(nm.tailMap(fromKey, inclusive)); }
2388 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
2390 return new SynchronizedNavigableSet<>(ns.headSet(toElement, inclusive), mutex);
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java75 …core.util.NullFromTypeParam V> headMap(@libcore.util.NullFromTypeParam K toKey, boolean inclusive); in headMap() argument
77 …re.util.NullFromTypeParam V> tailMap(@libcore.util.NullFromTypeParam K fromKey, boolean inclusive); in tailMap() argument
DTreeMap.annotated.java104 …omTypeParam V> headMap(@libcore.util.NullFromTypeParam K toKey, boolean inclusive) { throw new Run… in headMap() argument
106 …TypeParam V> tailMap(@libcore.util.NullFromTypeParam K fromKey, boolean inclusive) { throw new Run… in tailMap() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1135 public java.util.NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() argument
1139 public java.util.NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
1210 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
1214 public java.util.NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
2623 public java.util.NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() argument
2627 public java.util.NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
2703 public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
2707 public java.util.NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
3395 public java.util.NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() argument
3399 public java.util.NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
[all …]
/libcore/ojluni/
DNOTICE1477 start offset is inclusive, and the limit offset is exclusive.