org.phprpc.util
类 AssocArray
java.lang.Object
org.phprpc.util.AssocArray
- 所有已实现的接口:
- Serializable, Cloneable
public class AssocArray
- extends Object
- implements Cloneable, Serializable
- 另请参见:
- 序列化表格
AssocArray
public AssocArray()
AssocArray
public AssocArray(int initialCapacity)
AssocArray
public AssocArray(int initialCapacity,
float loadFactor)
AssocArray
public AssocArray(Collection c)
AssocArray
public AssocArray(Map m)
toArrayList
public ArrayList toArrayList()
toHashMap
public HashMap toHashMap()
toLinkedHashMap
public LinkedHashMap toLinkedHashMap()
size
public int size()
isEmpty
public boolean isEmpty()
add
public boolean add(Object element)
addAll
public boolean addAll(Collection c)
putAll
public void putAll(Map m)
get
public Object get(int index)
get
public Object get(Byte key)
get
public Object get(Short key)
get
public Object get(Integer key)
get
public Object get(String key)
set
public Object set(int index,
Object element)
set
public Object set(Byte key,
Object element)
set
public Object set(Short key,
Object element)
set
public Object set(Integer key,
Object element)
set
public Object set(String key,
Object element)
remove
public Object remove(int index)
remove
public Object remove(Byte key)
remove
public Object remove(Short key)
remove
public Object remove(Integer key)
remove
public Object remove(String key)
clear
public void clear()
clone
public Object clone()
throws CloneNotSupportedException
- 覆盖:
- 类
Object 中的 clone
- 抛出:
CloneNotSupportedException
Copyright © 2014. All rights reserved.