# Print output for @column tags ?> Maps - Android SDK | Android Developers

Most visited


Recently visited


Maps

public class Maps
extends Object

java.lang.Object
   ↳ com.google.android.collect.Maps


Provides static methods for creating mutable Maps instances easily.

Summary


Public constructors

Maps()

Public methods

static <K, V> ArrayMap<K, V> newArrayMap()

Creates a ArrayMap instance.

static <K, V> HashMap<K, V> newHashMap()

Creates a HashMap instance.

Inherited methods

Public constructors


Maps

public Maps ()

Public methods


newArrayMap

public static ArrayMap<K, V> newArrayMap ()

Creates a ArrayMap instance.

Returns
ArrayMap<K, V>

newHashMap

public static HashMap<K, V> newHashMap ()

Creates a HashMap instance.

Returns
HashMap<K, V> a newly-created, initially-empty HashMap

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.