Home
last modified time | relevance | path

Searched refs:ImmutableSortedMap (Results 1 – 25 of 36) sorted by relevance

12

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedMapTest.java23 import com.google.common.collect.ImmutableSortedMap.Builder;
82 return ImmutableSortedMap.of(); in makeEmptyMap()
86 return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); in makePopulatedMap()
101 return ImmutableSortedMap.of("one", 1); in makePopulatedMap()
115 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
130 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
145 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
160 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
175 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
190 ImmutableSortedMap<String, Integer> map in testEmptyBuilder()
[all …]
DMapsTest.java410 ImmutableSortedMap.of(1, 2);
453 ImmutableSortedMap.<Integer, String>reverseOrder() in testSortedMapDifferenceTypical()
458 ImmutableSortedMap.of(1, "a", 3, "f", 5, "g", 6, "z"); in testSortedMapDifferenceTypical()
494 ImmutableSortedMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e")); in testSortedMapDifferenceImmutable()
496 Maps.newTreeMap(ImmutableSortedMap.of(1, "a", 3, "f", 5, "g", 6, "z")); in testSortedMapDifferenceImmutable()
530 ImmutableSortedMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e"); in testSortedMapDifferenceEquals()
532 ImmutableSortedMap.of(1, "a", 3, "f", 5, "g", 6, "z"); in testSortedMapDifferenceEquals()
534 ImmutableSortedMap.of(1, "a", 3, "h", 5, "g", 6, "z"); in testSortedMapDifferenceEquals()
638 assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5), map); in testAsMapSortedReadsThrough()
642 ImmutableSortedMap.of("one", 3, "two", 3, "three", 5, "four", 4), in testAsMapSortedReadsThrough()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSortedMapTest.java24 import com.google.common.collect.ImmutableSortedMap.Builder;
142 return ImmutableSortedMap.of(); in makeEmptyMap()
146 return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); in makePopulatedMap()
161 return ImmutableSortedMap.of("one", 1); in makePopulatedMap()
178 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3)); in makePopulatedMap()
192 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
207 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
222 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
237 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
252 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) in makePopulatedMap()
[all …]
DMapsTest.java476 ImmutableSortedMap.of(1, 2);
519 ImmutableSortedMap.<Integer, String>reverseOrder() in testSortedMapDifferenceTypical()
524 ImmutableSortedMap.of(1, "a", 3, "f", 5, "g", 6, "z"); in testSortedMapDifferenceTypical()
560 ImmutableSortedMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e")); in testSortedMapDifferenceImmutable()
562 Maps.newTreeMap(ImmutableSortedMap.of(1, "a", 3, "f", 5, "g", 6, "z")); in testSortedMapDifferenceImmutable()
596 ImmutableSortedMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e"); in testSortedMapDifferenceEquals()
598 ImmutableSortedMap.of(1, "a", 3, "f", 5, "g", 6, "z"); in testSortedMapDifferenceEquals()
600 ImmutableSortedMap.of(1, "a", 3, "h", 5, "g", 6, "z"); in testSortedMapDifferenceEquals()
704 assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5), map); in testAsMapSortedReadsThrough()
708 ImmutableSortedMap.of("one", 3, "two", 3, "three", 5, "four", 4), in testAsMapSortedReadsThrough()
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedMap.java59 public abstract class ImmutableSortedMap<K, V> class
67 private static final ImmutableSortedMap<Comparable, Object> NATURAL_EMPTY_MAP =
70 static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) { in emptyMap()
78 static <K, V> ImmutableSortedMap<K, V> fromSortedEntries( in fromSortedEntries()
99 static <K, V> ImmutableSortedMap<K, V> from( in from()
116 public static <K, V> ImmutableSortedMap<K, V> of() { in of()
117 return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP; in of()
124 ImmutableSortedMap<K, V> of(K k1, V v1) { in of()
136 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
149 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
[all …]
DImmutableSortedMapFauxverideShim.java37 @Deprecated public static <K, V> ImmutableSortedMap.Builder<K, V> builder() { in builder()
50 @Deprecated public static <K, V> ImmutableSortedMap<K, V> of(K k1, V v1) { in of()
63 @Deprecated public static <K, V> ImmutableSortedMap<K, V> of( in of()
78 @Deprecated public static <K, V> ImmutableSortedMap<K, V> of( in of()
93 @Deprecated public static <K, V> ImmutableSortedMap<K, V> of( in of()
108 @Deprecated public static <K, V> ImmutableSortedMap<K, V> of( in of()
DRegularImmutableSortedMap.java31 final class RegularImmutableSortedMap<K, V> extends ImmutableSortedMap<K, V> {
43 ImmutableSortedMap<K, V> descendingMap) { in RegularImmutableSortedMap()
100 private ImmutableSortedMap<K, V> getSubMap(int fromIndex, int toIndex) { in getSubMap()
113 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) { in headMap()
118 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap()
123 ImmutableSortedMap<K, V> createDescendingMap() { in createDescendingMap()
DEmptyImmutableSortedMap.java33 final class EmptyImmutableSortedMap<K, V> extends ImmutableSortedMap<K, V> {
41 Comparator<? super K> comparator, ImmutableSortedMap<K, V> descendingMap) { in EmptyImmutableSortedMap()
97 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) { in headMap()
103 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap()
109 ImmutableSortedMap<K, V> createDescendingMap() { in createDescendingMap()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedMap.java37 public abstract class ImmutableSortedMap<K, V> class
59 ImmutableSortedMap(SortedMap<K, V> delegate, Comparator<? super K> comparator) { in ImmutableSortedMap() method in ImmutableSortedMap
65 private static <K, V> ImmutableSortedMap<K, V> create( in create()
78 public static <K, V> ImmutableSortedMap<K, V> of() { in of()
82 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
87 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
93 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
99 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
105 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
111 public static <K, V> ImmutableSortedMap<K, V>
[all …]
DEmptyImmutableSortedMap.java27 final class EmptyImmutableSortedMap<K, V> extends ImmutableSortedMap<K, V> {
33 private static final ImmutableSortedMap<Object, Object> NATURAL_EMPTY_MAP =
36 static <K, V> ImmutableSortedMap<K, V> forComparator(Comparator<? super K> comparator) { in forComparator()
38 return (ImmutableSortedMap) NATURAL_EMPTY_MAP; in forComparator()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSortedMapGenerators.java23 import com.google.common.collect.ImmutableSortedMap;
48 ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); in create()
88 ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder(); in create()
100 ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
115 ImmutableSortedMap.Builder<Integer, String> builder = ImmutableSortedMap.naturalOrder();
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DBenchmarkCreatorTest.java20 import com.google.common.collect.ImmutableSortedMap;
35 ImmutableSortedMap.<String, String>of()); in publicDefaultConstructorNoParamBenchmark()
48 ImmutableSortedMap.of("byteField", "1", "intField", "2", "stringField", "string")); in publicDefaultConstructorWithParamBenchmark()
75 ImmutableSortedMap.<String, String>of()); in publicNoSuitableConstructorBenchmark()
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DVmSpec.java22 import com.google.common.collect.ImmutableSortedMap;
53 public ImmutableSortedMap<String, String> options() { in options()
54 return ImmutableSortedMap.copyOf(options); in options()
57 public ImmutableSortedMap<String, String> properties() { in properties()
58 return ImmutableSortedMap.copyOf(properties); in properties()
DInstrumentSpec.java24 import com.google.common.collect.ImmutableSortedMap;
59 public ImmutableSortedMap<String, String> options() { in options()
60 return ImmutableSortedMap.copyOf(options); in options()
DHost.java24 import com.google.common.collect.ImmutableSortedMap;
57 public ImmutableSortedMap<String, String> properties() { in properties()
58 return ImmutableSortedMap.copyOf(properties); in properties()
DBenchmarkSpec.java24 import com.google.common.collect.ImmutableSortedMap;
69 public ImmutableSortedMap<String, String> parameters() { in parameters()
70 return ImmutableSortedMap.copyOf(parameters); in parameters()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperiment.java24 import com.google.common.collect.ImmutableSortedMap;
37 private final ImmutableSortedMap<String, String> userParameters;
44 this.userParameters = ImmutableSortedMap.copyOf(userParameters); in Experiment()
52 ImmutableSortedMap<String, String> userParameters() { in userParameters()
DExperimentModule.java26 import com.google.common.collect.ImmutableSortedMap;
37 private final ImmutableSortedMap<String, String> parameters;
42 ImmutableSortedMap<String, String> parameters) { in ExperimentModule()
83 ImmutableSortedMap<String, String> provideUserParameters() { in provideUserParameters()
DBenchmarkCreator.java22 import com.google.common.collect.ImmutableSortedMap;
40 private final ImmutableSortedMap<String, String> parameters;
46 @Running.Benchmark ImmutableSortedMap<String, String> parameters) { in BenchmarkCreator()
DCaliperMain.java25 import com.google.common.collect.ImmutableSortedMap;
110 ImmutableSortedMap<String, String> sortedProperties = in exitlessMain()
111 ImmutableSortedMap.copyOf(mainComponent.getCaliperConfig().properties()); in exitlessMain()
DParameterSet.java22 import com.google.common.collect.ImmutableSortedMap;
41 ImmutableSortedMap.naturalOrder(); in create()
/external/guava/guava-gwt/src/com/google/common/collect/
DImmutableSortedMap_CustomFieldSerializerBase.java35 static ImmutableSortedMap<Object, Object> instantiate(SerializationStreamReader reader) in instantiate()
47 return ImmutableSortedMap.orderedBy(comparator).putAll(entries).build(); in instantiate()
50 static void serialize(SerializationStreamWriter writer, ImmutableSortedMap<?, ?> instance) in serialize() argument
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java45 import com.google.common.collect.ImmutableSortedMap;
252 .put(SortedMap.class, ImmutableSortedMap.of())
253 .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
280 Maps.difference(ImmutableSortedMap.of(), ImmutableSortedMap.of()))
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DSafeTreeSetTest.java20 import com.google.common.collect.ImmutableSortedMap;
76 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); in testViewSerialization()
DSafeTreeMapTest.java22 import com.google.common.collect.ImmutableSortedMap;
92 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); in testViewSerialization()

12