Home
last modified time | relevance | path

Searched refs:fromKey (Results 1 – 21 of 21) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DForwardingSortedMap.java86 public SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
87 return delegate().subMap(fromKey, toKey); in subMap()
91 public SortedMap<K, V> tailMap(K fromKey) { in tailMap() argument
92 return delegate().tailMap(fromKey); in tailMap()
153 @Beta protected SortedMap<K, V> standardSubMap(K fromKey, K toKey) { in standardSubMap() argument
154 checkArgument(unsafeCompare(fromKey, toKey) <= 0, "fromKey must be <= toKey"); in standardSubMap()
155 return tailMap(fromKey).headMap(toKey); in standardSubMap()
DStandardRowSortedTable.java125 public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) { in subMap() argument
126 checkNotNull(fromKey); in subMap()
129 sortedBackingMap().subMap(fromKey, toKey), factory).rowMap(); in subMap()
133 public SortedMap<R, Map<C, V>> tailMap(R fromKey) { in tailMap() argument
134 checkNotNull(fromKey); in tailMap()
136 sortedBackingMap().tailMap(fromKey), factory).rowMap(); in tailMap()
DForwardingNavigableMap.java362 protected SortedMap<K, V> standardSubMap(K fromKey, K toKey) { in standardSubMap() argument
363 return subMap(fromKey, true, toKey, false); in standardSubMap()
367 public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { in subMap() argument
368 return delegate().subMap(fromKey, fromInclusive, toKey, toInclusive); in subMap()
377 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
378 return delegate().tailMap(fromKey, inclusive); in tailMap()
395 protected SortedMap<K, V> standardTailMap(K fromKey) { in standardTailMap() argument
396 return tailMap(fromKey, true); in standardTailMap()
DImmutableSortedMap.java516 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
517 return subMap(fromKey, true, toKey, false); in subMap()
536 public ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, in subMap() argument
538 checkNotNull(fromKey); in subMap()
540 checkArgument(comparator().compare(fromKey, toKey) <= 0, in subMap()
541 "expected fromKey <= toKey but %s > %s", fromKey, toKey); in subMap() local
542 return headMap(toKey, toInclusive).tailMap(fromKey, fromInclusive); in subMap()
556 public ImmutableSortedMap<K, V> tailMap(K fromKey) { in tailMap() argument
557 return tailMap(fromKey, true); in tailMap()
574 public abstract ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive); in tailMap() argument
DTreeBasedTable.java216 @Override public SortedMap<C, V> subMap(C fromKey, C toKey) { in subMap() argument
217 checkArgument(rangeContains(checkNotNull(fromKey)) in subMap()
219 return new TreeRow(rowKey, fromKey, toKey); in subMap()
227 @Override public SortedMap<C, V> tailMap(C fromKey) { in tailMap() argument
228 checkArgument(rangeContains(checkNotNull(fromKey))); in tailMap()
229 return new TreeRow(rowKey, fromKey, upperBound); in tailMap()
DAbstractNavigableMap.java134 public SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
135 return subMap(fromKey, true, toKey, false); in subMap()
144 public SortedMap<K, V> tailMap(K fromKey) { in tailMap() argument
145 return tailMap(fromKey, true); in tailMap()
DMaps.java864 public SortedMap<K, V> subMap(K fromKey, K toKey) {
865 return asMap(backingSet().subSet(fromKey, toKey), function);
874 public SortedMap<K, V> tailMap(K fromKey) {
875 return asMap(backingSet().tailSet(fromKey), function);
907 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
908 return asMap(set.subSet(fromKey, fromInclusive, toKey, toInclusive), function);
917 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
918 return asMap(set.tailSet(fromKey, inclusive), function);
1964 @Override public SortedMap<K, V2> subMap(K fromKey, K toKey) {
1966 fromMap().subMap(fromKey, toKey), transformer);
[all …]
DTreeRangeSet.java272 Cut<C> fromKey, boolean fromInclusive, Cut<C> toKey, boolean toInclusive) { in subMap() argument
274 fromKey, BoundType.forBoolean(fromInclusive), in subMap()
284 public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) { in tailMap() argument
285 return subMap(Range.downTo(fromKey, BoundType.forBoolean(inclusive))); in tailMap()
433 Cut<C> fromKey, boolean fromInclusive, Cut<C> toKey, boolean toInclusive) {
435 fromKey, BoundType.forBoolean(fromInclusive),
445 public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) {
446 return subMap(Range.downTo(fromKey, BoundType.forBoolean(inclusive)));
656 Cut<C> fromKey, boolean fromInclusive, Cut<C> toKey, boolean toInclusive) {
658 fromKey, BoundType.forBoolean(fromInclusive), toKey, BoundType.forBoolean(toInclusive)));
[all …]
DEmptyImmutableSortedMap.java103 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
104 checkNotNull(fromKey); in tailMap()
DAbstractMapBasedMultimap.java1394 public SortedMap<K, Collection<V>> subMap(K fromKey, K toKey) {
1395 return new SortedAsMap(sortedMap().subMap(fromKey, toKey));
1399 public SortedMap<K, Collection<V>> tailMap(K fromKey) {
1400 return new SortedAsMap(sortedMap().tailMap(fromKey));
1533 public NavigableMap<K, Collection<V>> subMap(K fromKey, K toKey) {
1534 return subMap(fromKey, true, toKey, false);
1539 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
1540 return new NavigableAsMap(sortedMap().subMap(fromKey, fromInclusive, toKey, toInclusive));
1554 public NavigableMap<K, Collection<V>> tailMap(K fromKey) {
1555 return tailMap(fromKey, true);
[all …]
DRegularImmutableSortedMap.java118 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
119 return getSubMap(keySet.tailIndex(checkNotNull(fromKey), inclusive), size()); in tailMap()
DSynchronized.java1088 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
1090 return sortedMap(delegate().subMap(fromKey, toKey), mutex);
1094 @Override public SortedMap<K, V> tailMap(K fromKey) {
1096 return sortedMap(delegate().tailMap(fromKey), mutex);
1483 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
1486 delegate().subMap(fromKey, fromInclusive, toKey, toInclusive),
1491 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
1494 delegate().tailMap(fromKey, inclusive), mutex);
1502 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
1503 return subMap(fromKey, true, toKey, false);
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedMap.java274 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
275 checkNotNull(fromKey); in subMap()
277 checkArgument(comparator.compare(fromKey, toKey) <= 0); in subMap()
278 return newView(sortedDelegate.subMap(fromKey, toKey)); in subMap()
281 ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { in subMap() argument
282 checkNotNull(fromKey); in subMap()
284 checkArgument(comparator.compare(fromKey, toKey) <= 0); in subMap()
285 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive); in subMap()
288 public ImmutableSortedMap<K, V> tailMap(K fromKey) { in tailMap() argument
289 checkNotNull(fromKey); in tailMap()
[all …]
DMaps.java826 public SortedMap<K, V> subMap(K fromKey, K toKey) {
827 return asMap(backingSet().subSet(fromKey, toKey), function);
836 public SortedMap<K, V> tailMap(K fromKey) {
837 return asMap(backingSet().tailSet(fromKey), function);
1655 @Override public SortedMap<K, V2> subMap(K fromKey, K toKey) {
1657 fromMap().subMap(fromKey, toKey), transformer);
1660 @Override public SortedMap<K, V2> tailMap(K fromKey) {
1661 return transformEntries(fromMap().tailMap(fromKey), transformer);
2326 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
2328 sortedMap().subMap(fromKey, toKey), predicate);
[all …]
DAbstractMapBasedMultimap.java1232 public SortedMap<K, Collection<V>> subMap(K fromKey, K toKey) {
1233 return new SortedAsMap(sortedMap().subMap(fromKey, toKey));
1237 public SortedMap<K, Collection<V>> tailMap(K fromKey) {
1238 return new SortedAsMap(sortedMap().tailMap(fromKey));
DSynchronized.java1072 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
1074 return sortedMap(delegate().subMap(fromKey, toKey), mutex);
1078 @Override public SortedMap<K, V> tailMap(K fromKey) {
1080 return sortedMap(delegate().tailMap(fromKey), mutex);
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java249 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
251 checkValid(fromKey), fromInclusive, checkValid(toKey), toInclusive));
254 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
255 return subMap(fromKey, true, toKey, false);
258 @Override public SortedMap<K, V> tailMap(K fromKey) {
259 return tailMap(fromKey, true);
262 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
264 delegate.tailMap(checkValid(fromKey), inclusive));
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedNavigableMapTest.java192 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { in subMap() argument
194 return delegate().subMap(fromKey, fromInclusive, toKey, toInclusive); in subMap()
197 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
198 return delegate().subMap(fromKey, true, toKey, false); in subMap()
201 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
203 return delegate().tailMap(fromKey, inclusive); in tailMap()
206 @Override public SortedMap<K, V> tailMap(K fromKey) { in tailMap() argument
207 return tailMap(fromKey, true); in tailMap()
DForwardingNavigableMapTest.java116 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
117 return standardSubMap(fromKey, toKey); in subMap()
211 public SortedMap<K, V> tailMap(K fromKey) { in tailMap() argument
212 return standardTailMap(fromKey); in tailMap()
DForwardingSortedMapTest.java109 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() argument
110 return standardSubMap(fromKey, toKey); in subMap()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java104 private static ASN1Sequence fromKey( in fromKey() method in AuthorityKeyIdentifierStructure
145 super(fromKey(pubKey)); in AuthorityKeyIdentifierStructure()