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

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
BoundType.java 38 * The endpoint value <i>is</i> considered part of the set ("inclusive").
50 static BoundType forBoolean(boolean inclusive) {
51 return inclusive ? CLOSED : OPEN;
DescendingImmutableSortedSet.java 47 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
48 return forward.tailSet(toElement, inclusive).descendingSet();
58 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
59 return forward.headSet(fromElement, inclusive).descendingSet();
ContiguousSet.java 94 @Override public ContiguousSet<C> headSet(C toElement, boolean inclusive) {
95 return headSetImpl(checkNotNull(toElement), inclusive);
125 @Override public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) {
126 return tailSetImpl(checkNotNull(fromElement), inclusive);
132 /*@Override*/ abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
137 /*@Override*/ abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive);
ForwardingNavigableSet.java 210 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
211 return delegate().headSet(toElement, inclusive);
225 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
226 return delegate().tailSet(fromElement, inclusive);
RegularImmutableSortedMap.java 113 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
114 return getSubMap(0, keySet.headIndex(checkNotNull(toKey), inclusive));
118 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) {
119 return getSubMap(keySet.tailIndex(checkNotNull(fromKey), inclusive), size());
RegularImmutableSortedSet.java 219 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
220 return getSubSet(0, headIndex(toElement, inclusive));
223 int headIndex(E toElement, boolean inclusive) {
226 inclusive ? FIRST_AFTER : FIRST_PRESENT, NEXT_HIGHER);
237 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
238 return getSubSet(tailIndex(fromElement, inclusive), size());
241 int tailIndex(E fromElement, boolean inclusive) {
246 inclusive ? FIRST_PRESENT : FIRST_AFTER, NEXT_HIGHER);
SortedMultisets.java 143 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
145 multiset().headMultiset(toElement, BoundType.forBoolean(inclusive)));
149 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
151 multiset().tailMultiset(fromElement, BoundType.forBoolean(inclusive)));
EmptyImmutableSortedMap.java 97 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
103 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) {
  /external/icu/android_icu4j/src/main/java/android/icu/util/
InitialTimeZoneRule.java 75 boolean inclusive) {
86 int prevDSTSavings, boolean inclusive) {
TimeArrayTimeZoneRule.java 95 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) {
99 if (time < base || (!inclusive && time == base)) {
113 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) {
117 if (time < base || (inclusive && time == base)) {
TimeZoneRule.java 124 * @param inclusive Whether the base time is inclusive or not.
129 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive);
140 * @param inclusive Whether the base time is inclusive or not.
145 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive);
AnnualTimeZoneRule.java 82 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
180 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) {
187 if (d != null && (d.getTime() < base || (!inclusive && (d.getTime() == base)))) {
197 public Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) {
204 if (d != null && (d.getTime() > base || (!inclusive && (d.getTime() == base)))) {
  /external/icu/icu4c/source/test/intltest/
tzrulets.h 47 UDate start, UDate end, UBool inclusive);
49 UDate start, UDate end, UBool inclusive);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
InitialTimeZoneRule.java 84 boolean inclusive) {
97 int prevDSTSavings, boolean inclusive) {
TimeArrayTimeZoneRule.java 101 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) {
105 if (time < base || (!inclusive && time == base)) {
120 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) {
124 if (time < base || (inclusive && time == base)) {
TimeZoneRule.java 137 * @param inclusive Whether the base time is inclusive or not.
144 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive);
155 * @param inclusive Whether the base time is inclusive or not.
162 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive);
AnnualTimeZoneRule.java 88 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
193 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) {
200 if (d != null && (d.getTime() < base || (!inclusive && (d.getTime() == base)))) {
211 public Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) {
218 if (d != null && (d.getTime() > base || (!inclusive && (d.getTime() == base)))) {
  /libcore/ojluni/src/main/java/java/util/
NavigableSet.java 64 * inclusive versus exclusive. Subsets of any {@code NavigableSet}
214 * {@code fromElement}, inclusive, to {@code toElement}, exclusive
235 * (or equal to, if {@code inclusive} is true) {@code toElement}. The
244 * @param inclusive {@code true} if the high endpoint
247 * (or equal to, if {@code inclusive} is true) {@code toElement}
260 NavigableSet<E> headSet(E toElement, boolean inclusive);
264 * than (or equal to, if {@code inclusive} is true) {@code fromElement}.
273 * @param inclusive {@code true} if the low endpoint
289 NavigableSet<E> tailSet(E fromElement, boolean inclusive);
NavigableMap.java 65 * inclusive versus exclusive. Submaps of any {@code NavigableMap}
338 * equal to, if {@code inclusive} is true) {@code toKey}. The returned
347 * @param inclusive {@code true} if the high endpoint
350 * (or equal to, if {@code inclusive} is true) {@code toKey}
363 NavigableMap<K,V> headMap(K toKey, boolean inclusive);
367 * equal to, if {@code inclusive} is true) {@code fromKey}. The returned
376 * @param inclusive {@code true} if the low endpoint
379 * (or equal to, if {@code inclusive} is true) {@code fromKey}
392 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive);
  /libcore/ojluni/src/main/java/java/util/concurrent/
ConcurrentNavigableMap.java 70 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive);
77 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive);
  /external/icu/icu4c/source/i18n/unicode/
basictz.h 47 * @param inclusive Whether the base time is inclusive or not.
52 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
57 * @param inclusive Whether the base time is inclusive or not.
62 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
70 * @param start The start time of the evaluated time range (inclusive)
71 * @param end The end time of the evaluated time range (inclusive)
tzrule.h 134 * @param inclusive Whether the base time is inclusive or not.
142 UBool inclusive, UDate& result) const = 0;
151 * @param inclusive Whether the base time is inclusive or not.
159 UBool inclusive, UDate& result) const = 0;
316 * @param inclusive Whether the base time is inclusive or not.
324 UBool inclusive, UDate& result) const;
333 * @param inclusive Whether the base time is inclusive or not
    [all...]
rbtz.h 255 * @param inclusive Whether the base time is inclusive or not.
260 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
265 * @param inclusive Whether the base time is inclusive or not.
270 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
314 UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) const;
315 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 48 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
49 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
63 @Override ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) {
64 return intersectionInCurrentDomain(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
  /external/icu/icu4c/source/i18n/
zrule.cpp 131 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
132 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
137 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
138 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result);

Completed in 448 milliseconds

1 2 3 4 5 6 7 8 91011>>