HomeSort by relevance Sort by last modified time
    Searched refs:Map (Results 251 - 275 of 769) sorted by null

<<11121314151617181920>>

  /external/guava/src/com/google/common/collect/
ImmutableMap.java 26 import java.util.Map;
31 * An immutable, hash-based {@link Map} with reliable user-specified iteration
35 * separate map which can still change, an instance of {@code ImmutableMap}
38 * lets you easily make a "defensive copy" of a map provided to your class by a
53 public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
55 * Returns the empty map. This map behaves and performs comparably to
68 * Returns an immutable map containing a single entry. This map behaves and
79 * Returns an immutable map containing the given entries, in order
    [all...]
Serialization.java 27 import java.util.Map;
42 * Reads a count corresponding to a serialized map, multiset, or multimap. It
43 * returns the size of a map serialized by {@link
44 * #writeMap(Map, ObjectOutputStream)}, the number of distinct elements in a
59 * Stores the contents of a map in an output stream, as part of serialization.
67 public static <K, V> void writeMap(Map<K, V> map, ObjectOutputStream stream)
69 stream.writeInt(map.size());
70 for (Map.Entry<K, V> entry : map.entrySet())
    [all...]
AbstractBiMap.java 30 import java.util.Map;
36 * A general-purpose bimap implementation using any two backing {@code Map}
49 private transient Map<K, V> delegate;
52 /** Package-private constructor for creating a map-backed bimap. */
53 AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
58 private AbstractBiMap(Map<K, V> backward, AbstractBiMap<V, K> forward) {
63 @Override protected Map<K, V> delegate() {
71 void setDelegates(Map<K, V> forward, Map<V, K> backward)
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
push.h 25 #include "fst/lib/map.h"
68 Map(ifst, &gfst, ToGallicMapper<Arc, stype>());
81 Map(fwfst, ofst, FromGallicMapper<Arc, stype>());
  /frameworks/base/awt/java/beans/
PropertyEditorManager.java 21 import java.util.Map;
27 private static final Map<Class<?>, Class<?>> registeredEditors = new HashMap<Class<?>, Class<?>>();
  /frameworks/base/core/java/android/database/
AbstractCursor.java 32 import java.util.Map;
115 public boolean commitUpdates(Map<? extends Long,? extends Map<String,Object>> values) {
162 mUpdatedRows = new HashMap<Long, Map<String, Object>>();
404 Map<String, Object> row = mUpdatedRows.get(rowid);
549 Map<String, Object> updates = mUpdatedRows.get(mCurrentRowID);
566 Map<String, Object> updates = mUpdatedRows.get(mCurrentRowID);
617 * This HashMap contains a mapping from Long rowIDs to another Map
622 protected HashMap<Long, Map<String, Object>> mUpdatedRows;
  /packages/apps/Camera/src/com/android/camera/gallery/
LruCache.java 23 import java.util.Map;
40 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
  /packages/apps/Gallery/src/com/android/camera/gallery/
LruCache.java 23 import java.util.Map;
36 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
  /packages/apps/Mms/src/com/android/mms/ui/
VideoAttachmentView.java 32 import java.util.Map;
64 public void setAudio(Uri audio, String name, Map<String, ?> extras) {
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
IDevice.java 22 import java.util.Map;
103 public Map<String, String> getProperties();
  /sdk/sdkmanager/libs/sdklib/tests/com/android/sdklib/internal/repository/
MockPlatformPackage.java 22 import java.util.Map;
139 public Map<String, String> getProperties() {
  /dalvik/libcore/luni/src/main/java/java/util/
Collections.java 187 * An empty immutable instance of {@link Map}.
190 public static final Map EMPTY_MAP = new EmptyMap();
352 public Set<Map.Entry<K, V>> entrySet() {
353 return new AbstractSet<Map.Entry<K, V>>() {
356 if (object instanceof Map.Entry) {
357 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object;
370 public Iterator<Map.Entry<K, V>> iterator() {
371 return new Iterator<Map.Entry<K, V>>() {
378 public Map.Entry<K, V> next()
    [all...]
  /cts/tests/src/android/app/cts/
ExpandableListTestActivity.java 20 import java.util.Map;
50 final List<Map<String, String>> groupData = Lists.newArrayList();
51 final List<List<Map<String, String>>> childData = Lists.newArrayList();
53 final Map<String, String> curGroupMap = new HashMap<String, String>();
58 final List<Map<String, String>> children = Lists.newArrayList();
60 Map<String, String> curChildMap = new HashMap<String, String>();
  /dalvik/libcore/luni/src/main/java/java/lang/reflect/
Proxy.java 23 import java.util.Map;
45 private static final Map<ClassLoader, Map<String, WeakReference<Class<?>>>> loaderCache = new WeakHashMap<ClassLoader, Map<String, WeakReference<Class<?>>>>();
48 private static final Map<Class<?>, String> proxyCache = new WeakHashMap<Class<?>, String>();
143 Map<String, WeakReference<Class<?>>> interfaceCache = loaderCache
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
ResponseCacheTest.java 42 import java.util.Map;
158 args = {URI.class, String.class, Map.class}
237 public CacheResponse get(URI arg0, String arg1, Map arg2)
277 Map<String, List<String>> headers = null;
290 public Map getHeaders() {
324 public CacheResponse get(URI uri, String rqstMethod, Map rqstHeaders) {
  /external/guava/src/com/google/common/base/
Joiner.java 26 import java.util.Map;
27 import java.util.Map.Entry;
33 * Iterable}, varargs or even a {@link Map}) with a separator. It either
246 * An object that joins map entries in the same manner as {@code Joiner} joins
259 * Appends the string representation of each entry of {@code map}, using the
263 public <A extends Appendable> A appendTo(A appendable, Map<?, ?> map)
266 Iterator<? extends Map.Entry<?, ?>> iterator = map.entrySet().iterator();
284 * Appends the string representation of each entry of {@code map}, using th
    [all...]
  /external/v8/src/
factory.cc 237 Handle<Map> Factory::NewMap(InstanceType type, int instance_size) {
238 CALL_HEAP_FUNCTION(Heap::AllocateMap(type, instance_size), Map);
247 Handle<Map> Factory::CopyMapDropDescriptors(Handle<Map> src) {
248 CALL_HEAP_FUNCTION(src->CopyDropDescriptors(), Map);
252 Handle<Map> Factory::CopyMap(Handle<Map> src,
254 Handle<Map> copy = CopyMapDropDescriptors(src);
266 // Adjust the map with the extra inobject properties.
275 Handle<Map> Factory::CopyMapDropTransitions(Handle<Map> src)
819 Handle<Map> map = Handle<Map>(result->initial_map()); local
    [all...]
heap.cc 265 PrintF("Map space, used: %8d, available: %8d, waste: %8d\n",
690 void insert(HeapObject* object, Map* map) {
692 *(--rear_) = map;
697 void remove(HeapObject** object, Map** map) {
699 *map = Map::cast(*(--front_));
891 Map* map; local
1979 Map* map = is_ascii ? cons_ascii_string_map() : cons_string_map(); local
2046 Map* map = external_ascii_string_map(); local
2067 Map* map = Heap::external_string_map(); local
2381 Map* map = Map::cast(map_obj); local
2487 Map* map = constructor->initial_map(); local
2557 Map* map = source->map(); local
2619 Map* map = constructor->initial_map(); local
2745 Map* map; local
3049 Map* map; local
3932 Object* map = obj->map(); local
3980 Object* map = obj->map(); local
    [all...]
  /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
AsmAnalyzerTest.java 35 import java.util.Map;
65 Map<String, ClassReader> map = mAa.parseZip(mOsJarPath); local
84 map.keySet().toArray());
89 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath);
104 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath);
163 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath);
185 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath);
  /packages/apps/Email/src/org/apache/james/mime4j/
BodyDescriptor.java 23 import java.util.Map;
39 private Map parameters = new HashMap();
100 Map params = getHeaderParams(sb.toString());
151 private Map getHeaderParams(String headerValue) {
152 Map result = new HashMap();
373 public Map getParameters() {
  /packages/apps/IM/src/com/android/im/imps/
ImpsPresenceUtils.java 28 import java.util.Map;
86 Map<String, Object> extra = mapping.getExtra(status);
132 private static void primitivetoMap(PrimitiveElement elem, HashMap<String, Object> map) {
140 map.put(key, childrenMap);
142 map.put(key, elem.getContents());
146 private static void mapToPrimitives(Map<String, Object> map, ArrayList<PrimitiveElement> elems) {
147 for (Map.Entry<String, Object> entry : map.entrySet()) {
153 } else if (value instanceof Map) {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
WidgetClassLoader.java 30 import java.util.Map;
133 /** Output map of FQCN => descriptor on all classes */
134 private final Map<String, ClassDescriptor> mMap = new TreeMap<String, ClassDescriptor>();
135 /** Output map of FQCN => descriptor on View classes */
136 private final Map<String, ClassDescriptor> mWidgetMap = new TreeMap<String, ClassDescriptor>();
137 /** Output map of FQCN => descriptor on ViewGroup classes */
138 private final Map<String, ClassDescriptor> mLayoutMap = new TreeMap<String, ClassDescriptor>();
139 /** Output map of FQCN => descriptor on LayoutParams classes */
140 private final Map<String, ClassDescriptor> mLayoutParamsMap =
174 clazz = processClass(classes, 0, null /* map */);
307 HashMap<String, ArrayList<IClassDescriptor>> map = local
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
BridgeContext.java 60 import java.util.Map;
62 import java.util.Map.Entry;
74 private final Map<String, Map<String, IResourceValue>> mProjectResources;
75 private final Map<String, Map<String, IResourceValue>> mFrameworkResources;
76 private final Map<IStyleResourceValue, IStyleResourceValue> mStyleInheritanceMap;
79 private Map<Integer, IStyleResourceValue> mDynamicIdToStyleMap;
80 private Map<IStyleResourceValue, Integer> mStyleToDynamicIdMap;
84 private Map<int[], Map<Integer, TypedArray>> mTypedArrayCache
208 Map<Integer, TypedArray> map = new HashMap<Integer, TypedArray>(); local
218 Map<Integer, TypedArray> map = mTypedArrayCache.get(attrs); local
    [all...]
  /dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
AttributesTest.java 29 import java.util.Map;
122 Set<Map.Entry<Object, Object>> entrySet = a.entrySet();
129 java.util.Map.Entry<?, ?> e;
130 e = (Map.Entry<?, ?>) i.next();
208 * @tests java.util.jar.Attributes#putAll(java.util.Map)
214 args = {java.util.Map.class}
246 * @tests java.util.jar.Attributes#putAll(java.util.Map)
252 args = {java.util.Map.class}
257 new Attributes().putAll((Map) null);
266 public void putAll(Map<?, ?> attrib)
    [all...]
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
TwoKeyHashMap.java 27 import java.util.Map;
41 private Set<Map.Entry<String, V>> entrySet;
105 public Set<Map.Entry<String, V>> entrySet() {
113 * Clears the map
134 * Associates the specified value with the specified keys in this map
181 * Rehash the map
217 * Answers whether this map contains a mapping for the specified keys.
221 * @return true if this map contains a mapping for the specified keys, and
244 * Returns true if this map contains no key-value mappings
277 Iterator<Map.Entry<String, V>> createEntrySetIterator()
    [all...]

Completed in 1320 milliseconds

<<11121314151617181920>>