/external/guava/guava-tests/test/com/google/common/collect/ |
MapsSortedTransformValuesTest.java | 27 * Tests for {@link Maps#transformValues(SortedMap, Function)}. 36 return Maps.transformValues(Maps.<String, String>newTreeMap(), 42 SortedMap<String, Integer> underlying = Maps.newTreeMap(); 46 return Maps.transformValues(underlying, Functions.toStringFunction()); 50 Map<String, String> sortedMap = Maps.newTreeMap(); 51 assertTrue(Maps.transformValues(sortedMap, Functions.<String>identity())
|
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...] |
MapsTransformValuesUnmodifiableIteratorTest.java | 32 * Tests for {@link Maps#transformValues} when the backing map's views 110 Map<String, Integer> underlying = Maps.newHashMap(); 111 return Maps.transformValues( 116 Map<String, Integer> underlying = Maps.newHashMap(); 120 return Maps.transformValues( 134 /** Helper assertion comparing two maps */ 150 Map<String, String> map = Maps.transformValues( 152 assertMapsEqual(Maps.newHashMap(), map); 156 Map<String, String> map = Maps.transformValues( 165 Map<String, Integer> map = Maps.transformValues [all...] |
MapsTest.java | 19 import static com.google.common.collect.Maps.transformEntries; 20 import static com.google.common.collect.Maps.transformValues; 21 import static com.google.common.collect.Maps.unmodifiableNavigableMap; 34 import com.google.common.collect.Maps.EntryTransformer; 35 import com.google.common.collect.Maps.ValueDifferenceImpl; 69 * Unit test for {@code Maps}. 82 HashMap<Integer, Integer> map = Maps.newHashMap(); 91 HashMap<String, Integer> map = Maps.newHashMap(original); 101 Maps.newHashMap((Map<? extends Object, ? extends Object>) original); 107 Maps.capacity(-1) [all...] |
SortedIterablesTest.java | 33 if (Maps.newTreeMap().keySet() instanceof SortedSet) { 35 SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
|
/external/jcommander/src/test/java/com/beust/jcommander/dynamic/ |
DSimple.java | 5 import org.testng.collections.Maps; 12 public Map<String, String> params = Maps.newHashMap(); 15 public Map<String, String> params2 = Maps.newHashMap();
|
DynamicParameterTest.java | 5 import com.beust.jcommander.internal.Maps; 27 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b", "c", "d")); 46 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b")); 47 Assert.assertEquals(ds.params2, Maps.newHashMap("c", "d"));
|
/external/testng/src/main/java/org/testng/internal/ |
DefaultMethodSelectorContext.java | 4 import org.testng.collections.Maps;
15 private Map<Object, Object> m_userData = Maps.newHashMap();
|
/external/testng/src/main/java/org/testng/xml/ |
Parameters.java | 4 import org.testng.collections.Maps; 14 private ListMultiMap<String, String> m_localParameters = Maps.newListMultiMap(); 15 private ListMultiMap<String, String> m_allParameters = Maps.newListMultiMap();
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
MapsTest.java | 19 import static com.google.common.collect.Maps.transformEntries; 20 import static com.google.common.collect.Maps.transformValues; 31 import com.google.common.collect.Maps.EntryTransformer; 32 import com.google.common.collect.Maps.ValueDifferenceImpl; 57 * Unit test for {@code Maps}. 70 HashMap<Integer, Integer> map = Maps.newHashMap(); 79 HashMap<String, Integer> map = Maps.newHashMap(original); 89 Maps.newHashMap((Map<? extends Object, ? extends Object>) original); 95 Maps.capacity(-1); 109 int capacity = Maps.capacity(expectedSize) [all...] |
ImmutableEnumMapTest.java | 41 Map<AnEnum, String> map = Maps.newHashMap(); 45 return Maps.immutableEnumMap(map); 50 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); 55 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(
|
/external/testng/src/main/java/org/testng/xml/dom/ |
TestNGTagFactory.java | 5 import org.testng.collections.Maps; 9 private Map<String, Class<?>> m_map = Maps.newHashMap();
|
/external/testng/src/test/java/test/thread/ |
B.java | 7 import org.testng.collections.Maps;
10 public static Map<Long, Long> m_threadIds = Maps.newHashMap();
|
/external/testng/src/main/java/org/testng/collections/ |
ListMultiMap.java | 18 return Maps.newListMultiMap();
|
/frameworks/base/core/java/com/google/android/collect/ |
Maps.java | 24 * Provides static methods for creating mutable {@code Maps} instances easily. 26 public class Maps {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockResources.java | 21 import com.google.android.collect.Maps; 26 private Map<Integer, String> mPackages = Maps.newHashMap(); 27 private Map<Integer, String> mTypes = Maps.newHashMap(); 28 private Map<Integer, String> mEntries = Maps.newHashMap();
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
VmSpec.java | 23 import com.google.common.collect.Maps; 44 this.properties = Maps.newTreeMap(); 45 this.options = Maps.newTreeMap(); 49 this.properties = Maps.newTreeMap(builder.properties); 50 this.options = Maps.newTreeMap(builder.options); 101 private final SortedMap<String, String> properties = Maps.newTreeMap(); 102 private final SortedMap<String, String> options = Maps.newTreeMap();
|
/external/guava/guava/src/com/google/common/collect/ |
Platform.java | 22 import com.google.common.collect.Maps.EntryTransformer; 75 ? Maps.transformEntries((NavigableMap<K, V1>) fromMap, transformer) 76 : Maps.transformEntriesIgnoreNavigable(fromMap, transformer); 82 ? Maps.asMap((NavigableSet<K>) set, function) 83 : Maps.asMapSortedIgnoreNavigable(set, function); 96 ? Maps.filterEntries((NavigableMap<K, V>) map, predicate) 97 : Maps.filterSortedIgnoreNavigable(map, predicate);
|
ForwardingMap.java | 145 Maps.putAllImpl(this, map); 196 protected class StandardKeySet extends Maps.KeySet<K, V> { 212 return Maps.containsKeyImpl(this, key); 226 protected class StandardValues extends Maps.Values<K, V> { 242 return Maps.containsValueImpl(this, value); 256 protected abstract class StandardEntrySet extends Maps.EntrySet<K, V> { 285 return Maps.equalsImpl(this, object); 307 return Maps.toStringImpl(this);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
ImmutableEnumMap_CustomFieldSerializer.java | 39 Map<K, V> deserialized = Maps.newHashMap(); 46 return (ImmutableEnumMap<?, ?>) Maps.immutableEnumMap(deserialized);
|
/external/jcommander/src/main/java/com/beust/jcommander/internal/ |
Maps.java | 25 public class Maps { 36 Map<T, T> result = Maps.newHashMap();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
DexClassProvider.java | 34 import com.google.common.collect.Maps; 43 private Map<String, ClassDef> classMap = Maps.newHashMap();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
BaseIndexPool.java | 34 import com.google.common.collect.Maps; 43 @Nonnull protected final Map<Key, Integer> internedItems = Maps.newHashMap();
|
BaseOffsetPool.java | 34 import com.google.common.collect.Maps; 43 @Nonnull protected final Map<Key, Integer> internedItems = Maps.newHashMap();
|
/external/testng/src/main/java/org/testng/asserts/ |
SoftAssert.java | 5 import org.testng.collections.Maps; 14 private final Map<AssertionError, IAssert<?>> m_errors = Maps.newLinkedHashMap();
|