Searched defs:SortedMap (Results 1 - 12 of 12) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DPlatform.java28 import java.util.SortedMap;
69 static <K, V1, V2> SortedMap<K, V2> mapsTransformEntriesSortedMap( argument
70 SortedMap<K, V1> fromMap,
75 static <K, V> SortedMap<K, V> mapsAsMapSortedSet(SortedSet<K> set,
85 static <K, V> SortedMap<K, V> mapsFilterSortedMap(SortedMap<K, V> map,
H A DImmutableSortedMap.java29 import java.util.SortedMap;
35 * An immutable {@link SortedMap}. Does not permit null keys or values.
59 extends ImmutableSortedMapFauxverideShim<K, V> implements SortedMap<K, V> {
237 SortedMap<K, ? extends V> map) {
250 if (map instanceof SortedMap) {
251 SortedMap<?, ?> sortedMap = (SortedMap<?, ?>) map;
316 * such as creating a {@code SortedMap<Integer, String>} with a {@code
475 * <p>The {@link SortedMap#headMap} documentation states that a submap of a
490 * <p>The {@link SortedMap#headMa
236 copyOfSorted( SortedMap<K, ? extends V> map) argument
[all...]
H A DSynchronized.java38 import java.util.SortedMap;
1045 static <K, V> SortedMap<K, V> sortedMap( argument
1046 SortedMap<K, V> sortedMap, @Nullable Object mutex) {
1051 implements SortedMap<K, V> {
1053 SynchronizedSortedMap(SortedMap<K, V> delegate, @Nullable Object mutex) {
1057 @Override SortedMap<K, V> delegate() {
1058 return (SortedMap<K, V>) super.delegate();
1073 @Override public SortedMap<K, V> headMap(K toKey) {
1085 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
1091 @Override public SortedMap<
[all...]
H A DMaps.java57 import java.util.SortedMap;
66 * {@link SortedMap}, {@link BiMap}, etc.). Also see this class's counterparts
297 * ImmutableSortedMap#copyOfSorted(SortedMap)} instead.
304 public static <K, V> TreeMap<K, V> newTreeMap(SortedMap<K, ? extends V> map) {
380 if (left instanceof SortedMap) {
381 SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
444 if (map instanceof SortedMap) {
445 return Collections.unmodifiableSortedMap((SortedMap<K, ? extends V>) map);
592 SortedMap<
591 difference( SortedMap<K, ? extends V> left, Map<? extends K, ? extends V> right) argument
1363 transformValues( SortedMap<K, V1> fromMap, Function<? super V1, V2> function) argument
1480 transformEntries( SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) argument
1486 transformEntriesIgnoreNavigable( SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) argument
1775 filterKeys( SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) argument
1883 filterValues( SortedMap<K, V> unfiltered, final Predicate<? super V> valuePredicate) argument
1994 filterEntries( SortedMap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) argument
2000 filterSortedIgnoreNavigable( SortedMap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedMap.java29 import java.util.SortedMap;
38 extends ForwardingImmutableMap<K, V> implements SortedMap<K, V> {
49 private final transient SortedMap<K, V> sortedDelegate;
59 ImmutableSortedMap(SortedMap<K, V> delegate, Comparator<? super K> comparator) {
69 SortedMap<K, V> delegate = newModifiableDelegate(comparator);
122 SortedMap<K, ? extends V> map) {
148 SortedMap<K, V> delegate = newModifiableDelegate(comparator);
156 SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
209 SortedMap<K, V> delegate = newModifiableDelegate(comparator);
304 private ImmutableSortedMap<K, V> newView(SortedMap<
121 copyOfSorted( SortedMap<K, ? extends V> map) argument
155 putEntryWithChecks( SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) argument
308 newView( SortedMap<K, V> delegate, Comparator<? super K> comparator) argument
[all...]
H A DPlatform.java31 import java.util.SortedMap;
123 static <K, V1, V2> SortedMap<K, V2> mapsTransformEntriesSortedMap( argument
124 SortedMap<K, V1> fromMap,
129 static <K, V> SortedMap<K, V> mapsAsMapSortedSet(
139 static <K, V> SortedMap<K, V> mapsFilterSortedMap( argument
140 SortedMap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> predicate) {
H A DSynchronized.java35 import java.util.SortedMap;
1032 static <K, V> SortedMap<K, V> sortedMap( argument
1033 SortedMap<K, V> sortedMap, @Nullable Object mutex) {
1038 implements SortedMap<K, V> {
1040 SynchronizedSortedMap(SortedMap<K, V> delegate, @Nullable Object mutex) {
1044 @Override SortedMap<K, V> delegate() {
1045 return (SortedMap<K, V>) super.delegate();
1060 @Override public SortedMap<K, V> headMap(K toKey) {
1072 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
1078 @Override public SortedMap<
[all...]
H A DMaps.java54 import java.util.SortedMap;
63 * {@link SortedMap}, {@link BiMap}, etc.). Also see this class's counterparts
294 * ImmutableSortedMap#copyOfSorted(SortedMap)} instead.
301 public static <K, V> TreeMap<K, V> newTreeMap(SortedMap<K, ? extends V> map) {
377 if (left instanceof SortedMap) {
378 SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
441 if (map instanceof SortedMap) {
442 return Collections.unmodifiableSortedMap((SortedMap<K, ? extends V>) map);
589 SortedMap<
588 difference( SortedMap<K, ? extends V> left, Map<? extends K, ? extends V> right) argument
1334 transformValues( SortedMap<K, V1> fromMap, Function<? super V1, V2> function) argument
1451 transformEntries( SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) argument
1457 transformEntriesIgnoreNavigable( SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) argument
1746 filterKeys( SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) argument
1854 filterValues( SortedMap<K, V> unfiltered, final Predicate<? super V> valuePredicate) argument
1965 filterEntries( SortedMap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) argument
1971 filterSortedIgnoreNavigable( SortedMap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) argument
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DMinMaxPriorityQueueTest.java38 import java.util.SortedMap;
194 SortedMap<Integer, AtomicInteger> replica = Maps.newTreeMap();
838 SortedMap<Integer, AtomicInteger> replica,
846 SortedMap<Integer, AtomicInteger> replica,
837 removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) argument
845 removeMaxFromReplica( SortedMap<Integer, AtomicInteger> replica, int maxValue) argument
H A DMapsTest.java60 import java.util.SortedMap;
268 SortedMap<Integer, Integer> map = Maps.newTreeMap();
471 private static final SortedMap<Integer, Integer> SORTED_EMPTY = Maps.newTreeMap();
472 private static final SortedMap<Integer, Integer> SORTED_SINGLETON =
515 SortedMap<Integer, String> left =
520 SortedMap<Integer, String> right =
556 SortedMap<Integer, String> left = Maps.newTreeMap(
558 SortedMap<Integer, String> right =
592 SortedMap<Integer, String> left =
594 SortedMap<Intege
1591 sortedNotNavigable( final SortedMap<K, V> map) argument
[all...]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DMapsTest.java51 import java.util.SortedMap;
210 SortedMap<Integer, Integer> map = Maps.newTreeMap();
408 private static final SortedMap<Integer, Integer> SORTED_EMPTY = Maps.newTreeMap();
409 private static final SortedMap<Integer, Integer> SORTED_SINGLETON =
452 SortedMap<Integer, String> left =
457 SortedMap<Integer, String> right =
493 SortedMap<Integer, String> left = Maps.newTreeMap(
495 SortedMap<Integer, String> right =
529 SortedMap<Integer, String> left =
531 SortedMap<Intege
1444 sortedNotNavigable( final SortedMap<K, V> map) argument
[all...]
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 494 milliseconds