/dalvik/libcore/luni/src/main/java/java/util/ |
MapEntry.java | 21 * MapEntry is an internal class which provides an implementation of Map.Entry. 23 class MapEntry<K, V> implements Map.Entry<K, V>, Cloneable { 55 if (object instanceof Map.Entry) { 56 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object;
|
/development/apps/launchperf/src/com/android/launchperf/ |
ComplexActivity.java | 20 import java.util.Map;
|
SimpleActivity.java | 20 import java.util.Map;
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
AttributeSet.java | 13 import java.util.Map; 57 final Map.Entry entry = (Map.Entry) a.next (); 109 private final Map /* Attribute->String|Integer */ m_attrMap; // never null
|
/external/guava/src/com/google/common/collect/ |
AbstractSetMultimap.java | 22 import java.util.Map; 38 * Creates a new multimap that uses the provided map. 40 * @param map place to store the mapping from each key to its corresponding 43 protected AbstractSetMultimap(Map<K, Collection<V>> map) { 44 super(map); 53 @Override public Set<Map.Entry<K, V>> entries() { 54 return (Set<Map.Entry<K, V>>) super.entries();
|
EmptyImmutableMap.java | 21 import java.util.Map; 26 * An empty immutable map. 70 if (object instanceof Map) { 71 Map<?, ?> that = (Map<?, ?>) object;
|
ForwardingMap.java | 22 import java.util.Map; 28 * A map which forwards all its method calls to another map. Subclasses should 29 * override one or more methods to modify the behavior of the backing map as 40 implements Map<K, V> { 42 @Override protected abstract Map<K, V> delegate(); 76 public void putAll(Map<? extends K, ? extends V> map) { 77 delegate().putAll(map);
|
ImmutableClassToInstanceMap.java | 21 import java.util.Map; 24 * A class-to-instance map backed by an {@link ImmutableMap}. See also {@link 52 * entries and build again. Thus each map generated by this builder will be 53 * a superset of any map generated before it. 60 * Associates {@code key} with {@code value} in the built map. Duplicate 69 * Associates all of {@code map's} keys and values in the built map. 72 * @throws NullPointerException if any key or value in {@code map} is null 77 Map<? extends Class<? extends T>, ? extends T> map) { [all...] |
/external/proguard/src/proguard/io/ |
DataEntryRenamer.java | 26 import java.util.Map; 30 * data entries based on the given map. Entries whose name does not appear 31 * in the map may be passed to an alternative DataEntryReader. 37 private final Map nameMap; 44 * @param nameMap the map from old names to new names. 48 public DataEntryRenamer(Map nameMap, 57 * @param nameMap the map from old names to new names. 64 public DataEntryRenamer(Map nameMap,
|
/external/proguard/src/proguard/obfuscate/ |
MemberNameCollector.java | 27 import java.util.Map; 42 private final Map descriptorMap; 49 * @param descriptorMap the map of descriptors to 53 Map descriptorMap) 90 // Put the [descriptor - new name] in the map, 91 // creating a new [new name - old name] map if necessary. 92 Map nameMap = MemberObfuscator.retrieveNameMap(descriptorMap, descriptor);
|
MemberObfuscator.java | 32 * from the given descriptor map. 46 private final Map descriptorMap; 55 * @param descriptorMap the map of descriptors to 60 Map descriptorMap) 92 // Get the name map, creating a new one if necessary. 93 Map nameMap = retrieveNameMap(descriptorMap, descriptor); 122 * Gets the name map, based on the given map and a given descriptor. 123 * A new empty map is created if necessary. 124 * @param descriptorMap the map of descriptors to [new name - old name] maps [all...] |
/frameworks/base/awt/java/awt/im/ |
InputMethodHighlight.java | 23 import java.util.Map; 57 private Map<TextAttribute,?> style; 64 int variation, Map<java.awt.font.TextAttribute, ?> style) { 83 public Map<java.awt.font.TextAttribute, ?> getStyle() {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalActivity.java | 19 import java.util.Map;
|
LocalDialog.java | 19 import java.util.Map;
|
LocalScreen.java | 19 import java.util.Map;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringDescriptor.java | 24 import java.util.Map; 35 private final Map<String, String> mArguments; 38 Map<String, String> arguments) { 45 public Map<String, String> getArguments() { 51 * an argument map. The argument map is created by the refactoring itself in
|
XmlStringFileHelper.java | 31 import java.util.Map; 46 * Map type: map [String filename] => map [String id => String value]. 48 private HashMap<String, Map<String, String>> mResIdCache = 49 new HashMap<String, Map<String, String>>(); 67 Map<String, String> cache = getResIdsForFile(project, xmlFileWsPath); 79 * @return The map of string IDs => values defined in the given file. Cached. Never null. 81 public Map<String, String> getResIdsForFile(IProject project, String xmlFileWsPath) { 82 Map<String, String> cache = mResIdCache.get(xmlFileWsPath) [all...] |
/external/easymock/src/org/easymock/internal/ |
LegacyMatcherProvider.java | 22 import java.util.Map;
36 private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>();
75 Map<MethodSerializationWrapper, ArgumentsMatcher> map = (Map<MethodSerializationWrapper, ArgumentsMatcher>) stream
local 77 matchers = new HashMap<Method, ArgumentsMatcher>(map.size());
78 for (Map.Entry<MethodSerializationWrapper, ArgumentsMatcher> entry : map
94 Map<MethodSerializationWrapper, ArgumentsMatcher> map = new HashMap<MethodSerializationWrapper, ArgumentsMatcher>( local [all...] |
/external/guava/src/com/google/common/primitives/ |
Primitives.java | 23 import java.util.Map; 36 /** A map from primitive types to their corresponding wrapper types. */ 37 public static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE; 39 /** A map from wrapper types to their corresponding primitive types. */ 40 public static final Map<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE_TYPE; 45 Map<Class<?>, Class<?>> primToWrap = new HashMap<Class<?>, Class<?>>(16); 46 Map<Class<?>, Class<?>> wrapToPrim = new HashMap<Class<?>, Class<?>>(16); 62 private static void add(Map<Class<?>, Class<?>> forward, 63 Map<Class<?>, Class<?>> backward, Class<?> key, Class<?> value) {
|
/frameworks/base/core/java/android/widget/ |
SimpleExpandableListAdapter.java | 25 import java.util.Map; 28 * An easy adapter to map static data to group and child views defined in an XML 33 * the Map to specific views. This process is similar for a child, except it is 34 * one-level deeper so the data backing is specified as a List<List<Map>>, 37 * Map holds the data for that particular child. 40 private List<? extends Map<String, ?>> mGroupData; 46 private List<? extends List<? extends Map<String, ?>>> mChildData; 64 * @param groupFrom A list of keys that will be fetched from the Map 76 * (index by child position), and the Map corresponds to the data 77 * for a child (index by values in the childFrom array). The Map [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
MapEntryTest.java | 29 import java.util.Map; 32 @TestTargetClass(Map.Entry.class) 34 Map.Entry me = null; 99 me = (Map.Entry)i.next(); 119 Map.Entry me1 = (Map.Entry)i.next(); 133 Map.Entry me1 = (Map.Entry)i.next(); 144 me = (Map.Entry)i.next();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
Bridge.java | 69 import java.util.Map; 74 * {@link #computeLayout(IXmlPullParser, Object, int, int, String, boolean, Map, Map, IProjectCallback, ILayoutLog)}. 92 private final static Map<Integer, String[]> sRMap = new HashMap<Integer, String[]>(); 96 private final static Map<int[], String> sRArrayMap = new HashMap<int[], String>(); 98 * Reverse map compared to sRMap, resource type -> (resource name -> id). 101 private final static Map<String, Map<String, Integer>> sRFullMap = 102 new HashMap<String, Map<String,Integer>>(); 104 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache 522 Map<String, Integer> map = sRFullMap.get(type); local 892 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey); local 917 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey); local 939 Map<String, SoftReference<NinePatch>> map = sProject9PatchCache.get(projectKey); local 965 Map<String, SoftReference<NinePatch>> map = sProject9PatchCache.get(projectKey); local [all...] |
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
ViewpointAdapter.java | 36 import java.util.Map; 41 static Map<ITypeVariableDefinition, ITypeReference> createTypeMapping( 51 Map<ITypeVariableDefinition, ITypeReference> substitution = 65 Map<ITypeVariableDefinition, ITypeReference> mappings) { 73 Map<ITypeVariableDefinition, ITypeReference> mappings) { 84 Map<ITypeVariableDefinition, ITypeReference> mappings) {
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 24 import java.util.Map; 28 @TestTargetClass(Map.class) 31 Map<String, Integer> map; field in class:Support_UnmodifiableMapTest 33 // must be a map containing the string keys "0"-"99" paired with the Integer 40 public Support_UnmodifiableMapTest(String p1, Map<String, Integer> m) { 42 map = m; 48 assertTrue("UnmodifiableMapTest - Should contain the key \"0\"", map 50 assertTrue("UnmodifiableMapTest - Should contain the key \"50\"", map 53 !map.containsKey("100")) [all...] |
/external/v8/src/ |
heap.h | 41 /* Put the byte array map early. We need it to be in place by the time */ \ 44 V(Map, byte_array_map, ByteArrayMap) \ 45 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ 46 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ 54 V(Map, heap_number_map, HeapNumberMap) \ 55 V(Map, global_context_map, GlobalContextMap) \ 56 V(Map, fixed_array_map, FixedArrayMap) \ 58 V(Map, meta_map, MetaMap) \ 60 V(Map, hash_table_map, HashTableMap) \ 62 V(Map, string_map, StringMap) 1346 Map* map; member in struct:v8::internal::KeyedLookupCache::Key [all...] |