OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Maps
(Results
1 - 15
of
15
) sorted by null
/frameworks/base/core/java/com/google/android/collect/
Maps.java
22
* Provides static methods for creating mutable {@code
Maps
} instances easily.
24
public class
Maps
{
/external/guava/guava-gwt/src/com/google/common/collect/
LinkedHashMultimap_CustomFieldSerializer.java
47
multimap.linkedEntries.add(
Maps
.immutableEntry(key, value));
/external/guava/guava/src/com/google/common/collect/
ForwardingMap.java
145
Maps
.putAllImpl(this, map);
200
protected class StandardKeySet extends
Maps
.KeySet<K, V> {
218
return
Maps
.containsKeyImpl(this, key);
232
protected class StandardValues extends
Maps
.Values<K, V> {
250
return
Maps
.containsValueImpl(this, value);
264
protected abstract class StandardEntrySet extends
Maps
.EntrySet<K, V> {
292
return
Maps
.equalsImpl(this, object);
314
return
Maps
.toStringImpl(this);
LinkedHashMultimap.java
137
Maps
.capacity(multimap.keySet().size())));
139
= new LinkedHashSet<Map.Entry<K, V>>(
Maps
.capacity(multimap.size()));
153
return new LinkedHashSet<V>(
Maps
.capacity(expectedValuesPerKey));
184
return
Maps
.immutableEntry(key, value);
273
linkedEntries.remove(
Maps
.immutableEntry(key, value));
380
setMap(new LinkedHashMap<K, Collection<V>>(
Maps
.capacity(distinctKeys)));
390
linkedEntries.add(
Maps
.immutableEntry(key, value));
Maps.java
70
public final class
Maps
{
71
private
Maps
() {}
279
* BiMap<Long, String> map =
Maps
.synchronizedBiMap(
304
* Computes the difference between two
maps
. This difference is an immutable
305
* snapshot of the state of the
maps
at the time this method is called. It
306
* will never change, even if the
maps
change at a later time.
309
* the supplied
maps
must be well-behaved with respect to
312
* <p><b>Note:</b>If you only need to know whether two
maps
have the same
317
* @return the difference between the two
maps
331
* Computes the difference between two
maps
. This difference is an immutabl
[
all
...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
LinkedHashMultimap.java
133
Maps
.capacity(multimap.keySet().size())));
135
= new LinkedHashSet<Map.Entry<K, V>>(
Maps
.capacity(multimap.size()));
149
return new LinkedHashSet<V>(
Maps
.capacity(expectedValuesPerKey));
180
return
Maps
.immutableEntry(key, value);
269
linkedEntries.remove(
Maps
.immutableEntry(key, value));
Maps.java
67
public final class
Maps
{
68
private
Maps
() {}
276
* BiMap<Long, String> map =
Maps
.synchronizedBiMap(
301
* Computes the difference between two
maps
. This difference is an immutable
302
* snapshot of the state of the
maps
at the time this method is called. It
303
* will never change, even if the
maps
change at a later time.
306
* the supplied
maps
must be well-behaved with respect to
309
* <p><b>Note:</b>If you only need to know whether two
maps
have the same
314
* @return the difference between the two
maps
328
* Computes the difference between two
maps
. This difference is an immutabl
[
all
...]
/external/guava/guava-tests/test/com/google/common/collect/
TreeMultimapExplicitTest.java
152
Maps
.immutableEntry((String) null, 7),
153
Maps
.immutableEntry((String) null, 3),
154
Maps
.immutableEntry((String) null, 1),
155
Maps
.immutableEntry("tree", (Integer) null),
156
Maps
.immutableEntry("tree", 0),
157
Maps
.immutableEntry("google", 6),
Maps
.immutableEntry("google", 2));
MapsTest.java
19
import static com.google.common.collect.
Maps
.transformEntries;
31
import com.google.common.collect.
Maps
.EntryTransformer;
32
import com.google.common.collect.
Maps
.ValueDifferenceImpl;
67
* Unit test for {@code
Maps
}.
80
HashMap<Integer, Integer> map =
Maps
.newHashMap();
89
HashMap<String, Integer> map =
Maps
.newHashMap(original);
99
Maps
.newHashMap((Map<? extends Object, ? extends Object>) original);
105
Maps
.capacity(-1);
112
* Tests that nHMWES makes hash
maps
large enough that adding the expected
120
HashMap<Integer, Void> map1 =
Maps
.newHashMapWithExpectedSize(size)
[
all
...]
MapsTransformValuesTest.java
32
* Tests for {@link
Maps
#transformValues}.
58
return
Maps
.transformValues(
Maps
.<String, String>newHashMap(),
64
Map<String, Integer> underlying =
Maps
.newHashMap();
68
return
Maps
.transformValues(underlying, Functions.toStringFunction());
81
/** Helper assertion comparing two
maps
*/
97
Map<String, String> map =
Maps
.transformValues(
99
assertMapsEqual(
Maps
.newHashMap(), map);
103
Map<String, String> map =
Maps
.transformValues(
112
Map<String, Integer> map =
Maps
.transformValues
[
all
...]
MapConstraintsTest.java
102
Map<String, Integer> map =
Maps
.newLinkedHashMap();
119
Maps
.immutableEntry(TEST_KEY, TEST_VALUE),
120
Maps
.immutableEntry("foo", 1),
121
Maps
.immutableEntry("bar", 2),
122
Maps
.immutableEntry("baz", 3));
126
Map<String, Integer> map =
Maps
.newLinkedHashMap();
151
Maps
.<String, Integer>newLinkedHashMap(),
152
Maps
.<Integer, String>newLinkedHashMap()) {};
167
Maps
.immutableEntry(TEST_KEY, TEST_VALUE),
168
Maps
.immutableEntry("foo", 1)
[
all
...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
UnmodifiableCollectionTests.java
27
import com.google.common.collect.
Maps
;
290
Maps
.immutableEntry(sampleKey, sampleValueAsCollection));
305
Maps
.immutableEntry(sampleKey, sampleValue));
/external/guava/guava-tests/test/com/google/common/cache/
LocalLoadingCacheTest.java
28
import com.google.common.collect.
Maps
;
170
Maps
.immutableEntry(three, one),
Maps
.immutableEntry(one, two));
/prebuilt/common/tradefed/
tradefed-prebuilt.jar
/prebuilts/tools/common/guava-tools/
guava-10.0.1.jar
Completed in 408 milliseconds