HomeSort by relevance Sort by last modified time
    Searched refs:inclusive (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/guava/guava/src/com/google/common/collect/
BoundType.java 36 * The endpoint value <i>is</i> considered part of the set ("inclusive").
43 static BoundType forBoolean(boolean inclusive) {
44 return inclusive ? CLOSED : OPEN;
ContiguousSet.java 46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) {
47 return headSetImpl(checkNotNull(toElement), inclusive);
69 @Override ContiguousSet<C> tailSet(C fromElement, boolean inclusive){
70 return tailSetImpl(checkNotNull(fromElement), inclusive);
76 /*@Override*/ abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
81 /*@Override*/ abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive);
EmptyImmutableSortedSet.java 105 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
116 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
RegularContiguousSet.java 45 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
46 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive)))
63 /* @Override */ ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) {
64 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive)))
RegularImmutableSortedSet.java 200 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
202 if (inclusive) {
220 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
222 if (inclusive) {
ImmutableSortedSet.java 601 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
602 return headSetImpl(checkNotNull(toElement), inclusive);
647 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) {
648 return tailSetImpl(checkNotNull(fromElement), inclusive);
655 abstract ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive);
660 abstract ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive);
  /external/icu4c/test/intltest/
tzrulets.h 44 UDate start, UDate end, UBool inclusive);
46 UDate start, UDate end, UBool inclusive);
  /libcore/luni/src/main/java/java/util/
NavigableSet.java 31 * whether lower and upper bounds are inclusive versus exclusive.
182 * {@code fromElement}, inclusive, to {@code toElement}, exclusive
203 * (or equal to, if {@code inclusive} is true) {@code toElement}. The
212 * @param inclusive {@code true} if the high endpoint
215 * (or equal to, if {@code inclusive} is true) {@code toElement}
228 NavigableSet<E> headSet(E toElement, boolean inclusive);
232 * than (or equal to, if {@code inclusive} is true) {@code fromElement}.
241 * @param inclusive {@code true} if the low endpoint
257 NavigableSet<E> tailSet(E fromElement, boolean inclusive);
NavigableMap.java 34 * whether lower and upper bounds are inclusive versus exclusive.
308 * equal to, if {@code inclusive} is true) {@code toKey}. The returned
317 * @param inclusive {@code true} if the high endpoint
320 * (or equal to, if {@code inclusive} is true) {@code toKey}
333 NavigableMap<K,V> headMap(K toKey, boolean inclusive);
337 * equal to, if {@code inclusive} is true) {@code fromKey}. The returned
346 * @param inclusive {@code true} if the low endpoint
349 * (or equal to, if {@code inclusive} is true) {@code fromKey}
362 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive);
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentNavigableMap.java 39 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive);
47 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive);
ConcurrentSkipListSet.java 386 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
387 return new ConcurrentSkipListSet<E>(m.headMap(toElement, inclusive));
395 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
396 return new ConcurrentSkipListSet<E>(m.tailMap(fromElement, inclusive));
  /external/icu4c/i18n/unicode/
basictz.h 45 * @param inclusive Whether the base time is inclusive or not.
50 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/ = 0;
55 * @param inclusive Whether the base time is inclusive or not.
60 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/ = 0;
68 * @param start The start time of the evaluated time range (inclusive)
69 * @param end The end time of the evaluated time range (inclusive)
tzrule.h 132 * @param inclusive Whether the base time is inclusive or not.
140 UBool inclusive, UDate& result) const = 0;
149 * @param inclusive Whether the base time is inclusive or not.
157 UBool inclusive, UDate& result) const = 0;
314 * @param inclusive Whether the base time is inclusive or not.
322 UBool inclusive, UDate& result) const;
331 * @param inclusive Whether the base time is inclusive or not
    [all...]
rbtz.h 253 * @param inclusive Whether the base time is inclusive or not.
258 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/;
263 * @param inclusive Whether the base time is inclusive or not.
268 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/;
312 UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) const;
313 UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) const;
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
RegularContiguousSet.java 43 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
44 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive)))
61 /* @Override */ ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) {
62 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive)))
EmptyContiguousSet.java 59 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
  /external/icu4c/i18n/
zrule.cpp 129 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
130 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
135 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
136 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
zrule.h 220 * @param inclusive Whether the base time is inclusive or not.
228 int32_t prevDSTSavings, UBool inclusive, UDate& result);
238 * @param inclusive Whether the base time is inclusive or not.
246 int32_t prevDSTSavings, UBool inclusive, UDate& result);
rbtz.cpp 526 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/ {
534 UBool found = findNext(base, inclusive, transitionTime, fromRule, toRule);
545 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/ {
553 UBool found = findPrev(base, inclusive, transitionTime, fromRule, toRule);
713 RuleBasedTimeZone::findNext(UDate base, UBool inclusive, UDate& transitionTime,
723 if (tt > base || (inclusive && tt == base)) {
730 if (inclusive && tt == base) {
739 UBool avail0 = r0->getNextStart(base, r1->getRawOffset(), r1->getDSTSavings(), inclusive, start0);
740 UBool avail1 = r1->getNextStart(base, r0->getRawOffset(), r0->getDSTSavings(), inclusive, start1);
764 if (tt < base || (!inclusive && tt == base))
    [all...]
vzone.cpp 161 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) {
162 return ((VTimeZone*)zone)->VTimeZone::getNextTransition(base, inclusive, *(TimeZoneTransition*)result);
166 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) {
167 return ((VTimeZone*)zone)->VTimeZone::getPreviousTransition(base, inclusive, *(TimeZoneTransition*)result);
olsontz.h 232 * @param inclusive Whether the base time is inclusive or not.
236 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/;
242 * @param inclusive Whether the base time is inclusive or not.
246 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/;
tzrule.cpp 162 UBool /*inclusive*/,
171 UBool /*inclusive*/,
354 UBool inclusive,
363 if (tmp < base || (!inclusive && (tmp == base))) {
378 UBool inclusive,
387 if (tmp > base || (!inclusive && (tmp == base))) {
544 UBool inclusive,
549 if (time < base || (!inclusive && time == base)) {
564 UBool inclusive,
569 if (time < base || (inclusive && time == base))
    [all...]
vzone.h 301 * @param inclusive Whether the base time is inclusive or not.
306 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result);
312 * @param inclusive Whether the base time is inclusive or not.
317 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeMap.java 143 @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
145 delegate.headMap(checkValid(toKey), inclusive));
225 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
227 delegate.tailMap(checkValid(fromKey), inclusive));
SafeTreeSet.java 122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) {
124 delegate.headSet(checkValid(toElement), inclusive));
186 @Override public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
187 return delegate.tailSet(checkValid(fromElement), inclusive);

Completed in 284 milliseconds

1 2 3