/libcore/ojluni/src/main/java/java/util/concurrent/ |
ConcurrentNavigableMap.java | 62 ConcurrentNavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, 77 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive); 84 ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey); 98 ConcurrentNavigableMap<K,V> tailMap(K fromKey);
|
/libcore/ojluni/src/main/java/java/util/ |
SortedMap.java | 127 * {@code fromKey}, inclusive, to {@code toKey}, exclusive. (If 128 * {@code fromKey} and {@code toKey} are equal, the returned map 137 * @param fromKey low endpoint (inclusive) of the keys in the returned map 140 * {@code fromKey}, inclusive, to {@code toKey}, exclusive 141 * @throws ClassCastException if {@code fromKey} and {@code toKey} 145 * exception if {@code fromKey} or {@code toKey} 147 * @throws NullPointerException if {@code fromKey} or {@code toKey} 149 * @throws IllegalArgumentException if {@code fromKey} is greater than 151 * range, and {@code fromKey} or {@code toKey} lies 154 SortedMap<K,V> subMap(K fromKey, K toKey) [all...] |
NavigableMap.java | 301 * {@code fromKey} to {@code toKey}. If {@code fromKey} and 312 * @param fromKey low endpoint of the keys in the returned map 319 * {@code fromKey} to {@code toKey} 320 * @throws ClassCastException if {@code fromKey} and {@code toKey} 324 * exception if {@code fromKey} or {@code toKey} 326 * @throws NullPointerException if {@code fromKey} or {@code toKey} 328 * @throws IllegalArgumentException if {@code fromKey} is greater than 330 * range, and {@code fromKey} or {@code toKey} lies 333 NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive [all...] |
TreeMap.java | [all...] |
Collections.java | [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ForwardingSortedMap.java | 86 public SortedMap<K, V> subMap(K fromKey, K toKey) { 87 return delegate().subMap(fromKey, toKey); 91 public SortedMap<K, V> tailMap(K fromKey) { 92 return delegate().tailMap(fromKey); 153 @Beta protected SortedMap<K, V> standardSubMap(K fromKey, K toKey) { 154 checkArgument(unsafeCompare(fromKey, toKey) <= 0, "fromKey must be <= toKey"); 155 return tailMap(fromKey).headMap(toKey);
|
StandardRowSortedTable.java | 125 public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) { 126 checkNotNull(fromKey); 129 sortedBackingMap().subMap(fromKey, toKey), factory).rowMap(); 133 public SortedMap<R, Map<C, V>> tailMap(R fromKey) { 134 checkNotNull(fromKey); 136 sortedBackingMap().tailMap(fromKey), factory).rowMap();
|
ForwardingNavigableMap.java | 362 protected SortedMap<K, V> standardSubMap(K fromKey, K toKey) { 363 return subMap(fromKey, true, toKey, false); 367 public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { 368 return delegate().subMap(fromKey, fromInclusive, toKey, toInclusive); 377 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { 378 return delegate().tailMap(fromKey, inclusive); 395 protected SortedMap<K, V> standardTailMap(K fromKey) { 396 return tailMap(fromKey, true);
|
AbstractNavigableMap.java | 134 public SortedMap<K, V> subMap(K fromKey, K toKey) { 135 return subMap(fromKey, true, toKey, false); 144 public SortedMap<K, V> tailMap(K fromKey) { 145 return tailMap(fromKey, true);
|
EmptyImmutableSortedMap.java | 103 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { 104 checkNotNull(fromKey);
|
TreeBasedTable.java | 216 @Override public SortedMap<C, V> subMap(C fromKey, C toKey) { 217 checkArgument(rangeContains(checkNotNull(fromKey)) 219 return new TreeRow(rowKey, fromKey, toKey); 227 @Override public SortedMap<C, V> tailMap(C fromKey) { 228 checkArgument(rangeContains(checkNotNull(fromKey))); 229 return new TreeRow(rowKey, fromKey, upperBound);
|
RegularImmutableSortedMap.java | 118 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { 119 return getSubMap(keySet.tailIndex(checkNotNull(fromKey), inclusive), size());
|
ImmutableSortedMap.java | 504 * whose keys ranges from {@code fromKey}, inclusive, to {@code toKey}, 509 * fromKey} less than an earlier {@code fromKey}. However, this method doesn't 511 * fromKey}. Similarly, this method keeps the original {@code toKey}, instead 516 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) { 517 return subMap(fromKey, true, toKey, false); 522 * whose keys ranges from {@code fromKey} to {@code toKey}, inclusive or 527 * fromKey} less than an earlier {@code fromKey}. However, this method doesn't 529 * fromKey}. Similarly, this method keeps the original {@code toKey}, instea [all...] |
TreeRangeSet.java | 272 Cut<C> fromKey, boolean fromInclusive, Cut<C> toKey, boolean toInclusive) { 274 fromKey, BoundType.forBoolean(fromInclusive), 284 public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) { 285 return subMap(Range.downTo(fromKey, BoundType.forBoolean(inclusive))); 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...] |
Maps.java | 864 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); [all...] |
AbstractMapBasedMultimap.java | [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedMap.java | 274 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) { 275 checkNotNull(fromKey); 277 checkArgument(comparator.compare(fromKey, toKey) <= 0); 278 return newView(sortedDelegate.subMap(fromKey, toKey)); 281 ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { 282 checkNotNull(fromKey); 284 checkArgument(comparator.compare(fromKey, toKey) <= 0); 285 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive); 288 public ImmutableSortedMap<K, V> tailMap(K fromKey) { 289 checkNotNull(fromKey); [all...] |
/packages/apps/TV/src/com/android/tv/config/ |
RemoteConfigFeature.java | 31 public static RemoteConfigFeature fromKey(String key) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeMap.java | 249 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));
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
ScreenLockTypeTest.java | 61 assertThat(ScreenLockType.fromKey(lock.preferenceKey)).isEqualTo(lock); 63 assertThat(ScreenLockType.fromKey("nonexistent")).isNull();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
AuthorityKeyIdentifierStructure.java | 104 private static ASN1Sequence fromKey( 145 super(fromKey(pubKey));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedNavigableMapTest.java | 192 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { 194 return delegate().subMap(fromKey, fromInclusive, toKey, toInclusive); 197 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) { 198 return delegate().subMap(fromKey, true, toKey, false); 201 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { 203 return delegate().tailMap(fromKey, inclusive); 206 @Override public SortedMap<K, V> tailMap(K fromKey) { 207 return tailMap(fromKey, true);
|
ForwardingNavigableMapTest.java | 116 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) { 117 return standardSubMap(fromKey, toKey); 211 public SortedMap<K, V> tailMap(K fromKey) { 212 return standardTailMap(fromKey);
|
ForwardingSortedMapTest.java | 109 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) { 110 return standardSubMap(fromKey, toKey);
|
/packages/apps/Settings/src/com/android/settings/password/ |
ScreenLockType.java | 102 public static ScreenLockType fromKey(String key) {
|