newArrayList
public ArrayList newArrayList(Object[] param)
Returns a new ArrayList using the given array of objects
param
- the array to use to fill the list
- the ArrayList
newHashMap
public HashMap newHashMap(Object[] keys,
Object[] values)
Returns a new HashMap
keys
- the vector making the keysvalues
- the vector making the values
- the HashMap
newHashMap
public HashMap newHashMap(Context aContext)
Returns a new HashMap based on the contents of a Context
aContext
- the Context
- the HashMap
newHashSet
public HashSet newHashSet(Object[] param)
Returns a new HashSet using the given array of objects
param
- the array to use to fill the list
- the HashSet
newHashSet
public HashSet newHashSet(Context aContext)
Returns a new HashSet based on the contents of a Context. The elements
contained in the Context are added to the set
aContext
- the Context
- the HashSet
newHashtable
public Hashtable newHashtable(Object[] keys,
Object[] values)
Returns a new Hashtable
keys
- the vector making the keysvalues
- the vector making the values
- the Hashtable
newHashtable
public Hashtable newHashtable(Context aContext)
Returns a new Hashtable based on the contents of a Context
aContext
- the Context
- the Hashtable
newLinkedList
public LinkedList newLinkedList(Object[] param)
Returns a new LinkedList using the given array of objects
param
- the array to use to fill the list
- the LinkedList
newList
public List newList(Object[] param)
Returns a new List using the given array of objects. Uses an ArrayList.
param
- the array to use to fill the list
- the List
newMap
public Map newMap(Object[] keys,
Object[] values)
Returns a new Map. Uses a HashMap.
keys
- the vector making the keysvalues
- the vector making the values
- the Map
newSet
public Set newSet(Object[] param)
Returns a new Set using the given array of objects. Uses an HashSet.
param
- the array to use to fill the list
- the Set
newSet
public Set newSet(Context aContext)
Returns a new Set based on the contents of a Context. The elements
contained in the Context are added to the set
Uses an HashSet.
aContext
- the Context
- the Set
newTreeMap
public TreeMap newTreeMap(Object[] keys,
Object[] values)
Returns a new TreeMap
keys
- the vector making the keysvalues
- the vector making the values
- the HashMap
newTreeMap
public TreeMap newTreeMap(Object[] keys,
Object[] values,
Comparator aComparator)
Returns a new TreeMap
keys
- the vector making the keysvalues
- the vector making the valuesaComparator
- the comparator used to sort elements in the tree
- the HashMap
newTreeSet
public TreeSet newTreeSet(Object[] param)
Returns a new TreeSet using the given array of objects
param
- the array to use to fill the list
- the TreeSet
newTreeSet
public TreeSet newTreeSet(Object[] param,
Comparator aComparator)
Returns a new TreeSet using the given array of objects
param
- the array to use to fill the listaComparator
- the comparator used to sort elements in the tree
- the TreeSet
newVector
public Vector newVector(Object[] param)
Returns a new Vector using the given array of objects
param
- the array to use to fill the list
- the Vector