Searched defs:toElement (Results 1 - 25 of 59) sorted by relevance

123

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSortedMultisets.java61 @Override public SortedSet<E> subSet(E fromElement, E toElement) { argument
62 return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
65 @Override public SortedSet<E> headSet(E toElement) { argument
66 return multiset().headMultiset(toElement, OPEN).elementSet();
H A DAbstractSortedMultiset.java103 @Nullable E toElement, BoundType toBoundType) {
107 return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
102 subMultiset(@ullable E fromElement, BoundType fromBoundType, @Nullable E toElement, BoundType toBoundType) argument
H A DContiguousSet.java83 @Override public ContiguousSet<C> headSet(C toElement) { argument
84 return headSetImpl(checkNotNull(toElement), false);
87 @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { argument
89 checkNotNull(toElement);
90 checkArgument(comparator().compare(fromElement, toElement) <= 0);
91 return subSetImpl(fromElement, true, toElement, false);
101 /*@Override*/ abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive); argument
104 C toElement, boolean toInclusive);
103 subSetImpl(C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) argument
H A DDescendingMultiset.java66 @Override public SortedMultiset<E> headMultiset(E toElement, argument
68 return forwardMultiset().tailMultiset(toElement, boundType)
73 BoundType fromBoundType, E toElement, BoundType toBoundType) {
74 return forwardMultiset().subMultiset(toElement, toBoundType, fromElement,
72 subMultiset(E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) argument
H A DEmptyContiguousSet.java59 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { argument
64 C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
63 subSetImpl( C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) argument
H A DRegularContiguousSet.java48 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { argument
49 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
52 @Override ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, C toElement, argument
54 if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
60 toElement, BoundType.forBoolean(toInclusive)));
H A DImmutableSortedSet.java312 public ImmutableSortedSet<E> headSet(E toElement) { argument
313 checkNotNull(toElement);
315 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true);
333 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { argument
334 checkNotNull(toElement);
336 E tmp = higher(toElement);
340 toElement = tmp;
342 return headSet(toElement);
349 public ImmutableSortedSet<E> subSet(E fromElement, E toElement) { argument
350 return subSet(fromElement, true, toElement, fals
353 subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DAbstractSortedMultiset.java103 @Nullable E toElement, BoundType toBoundType) {
107 return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
102 subMultiset(@ullable E fromElement, BoundType fromBoundType, @Nullable E toElement, BoundType toBoundType) argument
H A DContiguousSet.java86 @Override public ContiguousSet<C> headSet(C toElement) { argument
87 return headSetImpl(checkNotNull(toElement), false);
94 @Override public ContiguousSet<C> headSet(C toElement, boolean inclusive) { argument
95 return headSetImpl(checkNotNull(toElement), inclusive);
98 @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { argument
100 checkNotNull(toElement);
101 checkArgument(comparator().compare(fromElement, toElement) <= 0);
102 return subSetImpl(fromElement, true, toElement, false);
109 @Override public ContiguousSet<C> subSet(C fromElement, boolean fromInclusive, C toElement, argument
112 checkNotNull(toElement);
132 headSetImpl(C toElement, boolean inclusive) argument
134 subSetImpl(C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) argument
[all...]
H A DDescendingImmutableSortedSet.java47 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { argument
48 return forward.tailSet(toElement, inclusive).descendingSet();
53 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
54 return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet();
52 subSetImpl( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
H A DForwardingSortedSet.java76 public SortedSet<E> headSet(E toElement) { argument
77 return delegate().headSet(toElement);
86 public SortedSet<E> subSet(E fromElement, E toElement) { argument
87 return delegate().subSet(fromElement, toElement);
163 @Beta protected SortedSet<E> standardSubSet(E fromElement, E toElement) { argument
164 return tailSet(fromElement).headSet(toElement);
H A DConstraints.java147 @Override public SortedSet<E> headSet(E toElement) { argument
148 return constrainedSortedSet(delegate.headSet(toElement), constraint);
150 @Override public SortedSet<E> subSet(E fromElement, E toElement) { argument
152 delegate.subSet(fromElement, toElement), constraint);
H A DDescendingMultiset.java66 @Override public SortedMultiset<E> headMultiset(E toElement, argument
68 return forwardMultiset().tailMultiset(toElement, boundType)
73 BoundType fromBoundType, E toElement, BoundType toBoundType) {
74 return forwardMultiset().subMultiset(toElement, toBoundType, fromElement,
72 subMultiset(E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) argument
H A DEmptyContiguousSet.java61 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { argument
66 C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
65 subSetImpl( C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) argument
H A DEmptyImmutableSortedSet.java107 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { argument
113 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
112 subSetImpl( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
H A DForwardingNavigableSet.java179 E toElement,
181 return delegate().subSet(fromElement, fromInclusive, toElement, toInclusive);
193 E toElement,
195 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
205 protected SortedSet<E> standardSubSet(E fromElement, E toElement) { argument
206 return subSet(fromElement, true, toElement, false);
210 public NavigableSet<E> headSet(E toElement, boolean inclusive) { argument
211 return delegate().headSet(toElement, inclusive);
220 protected SortedSet<E> standardHeadSet(E toElement) { argument
221 return headSet(toElement, fals
176 subSet( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
190 standardSubSet( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
[all...]
H A DSortedMultisets.java64 @Override public SortedSet<E> subSet(E fromElement, E toElement) { argument
65 return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
68 @Override public SortedSet<E> headSet(E toElement) { argument
69 return multiset().headMultiset(toElement, OPEN).elementSet();
136 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
139 toElement, BoundType.forBoolean(toInclusive)));
143 public NavigableSet<E> headSet(E toElement, boolean inclusive) { argument
145 multiset().headMultiset(toElement, BoundType.forBoolean(inclusive)));
135 subSet( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
H A DImmutableRangeSet.java443 ImmutableSortedSet<C> headSetImpl(C toElement, boolean inclusive) { argument
444 return subSet(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
449 C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
450 if (!fromInclusive && !toInclusive && Range.compareOrThrow(fromElement, toElement) == 0) {
455 toElement, BoundType.forBoolean(toInclusive)));
448 subSetImpl( C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) argument
H A DRegularContiguousSet.java50 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { argument
51 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
54 @Override ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, C toElement, argument
56 if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
62 toElement, BoundType.forBoolean(toInclusive)));
H A DRegularImmutableSortedSet.java219 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { argument
220 return getSubSet(0, headIndex(toElement, inclusive));
223 int headIndex(E toElement, boolean inclusive) { argument
225 elements, checkNotNull(toElement), comparator(),
231 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
233 .headSetImpl(toElement, toInclusive);
230 subSetImpl( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingSortedSetTest.java100 @Override public SortedSet<T> subSet(T fromElement, T toElement) { argument
101 return standardSubSet(fromElement, toElement);
H A DSynchronizedNavigableSetTest.java85 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { argument
87 return delegate().headSet(toElement, inclusive);
90 @Override public SortedSet<E> headSet(E toElement) { argument
91 return headSet(toElement, false);
114 boolean fromInclusive, E toElement, boolean toInclusive) {
117 fromElement, fromInclusive, toElement, toInclusive);
120 @Override public SortedSet<E> subSet(E fromElement, E toElement) { argument
121 return subSet(fromElement, true, toElement, false);
113 subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument
H A DForwardingNavigableSetTest.java102 @Override public SortedSet<T> subSet(T fromElement, T toElement) { argument
103 return standardSubSet(fromElement, toElement);
137 public SortedSet<T> headSet(T toElement) { argument
138 return standardHeadSet(toElement);
/external/smali/util/src/main/java/org/jf/util/
H A DArraySortedSet.java136 public SortedSet<T> subSet(T fromElement, T toElement) { argument
141 public SortedSet<T> headSet(T toElement) { argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSafeTreeSet.java118 @Override public SortedSet<E> headSet(E toElement) { argument
119 return headSet(toElement, false);
122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { argument
124 delegate.headSet(checkValid(toElement), inclusive));
172 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
175 checkValid(toElement), toInclusive));
178 @Override public SortedSet<E> subSet(E fromElement, E toElement) { argument
179 return subSet(fromElement, true, toElement, false);
171 subSet( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) argument

Completed in 287 milliseconds

123