Class CharArrayHashMap<V>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.CharArrayHashMap<V>
- All Implemented Interfaces:
Serializable
,Cloneable
,CharArrayMapper<V>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(char[] key) get
(char[] key) Collection
<char[]> keys()
Returns a copied collection of keys.int
size()
toString()
values()
Returns a copied collection of values.
-
Constructor Details
-
CharArrayHashMap
public CharArrayHashMap(int initialCapacity)
-
-
Method Details
-
values
Description copied from interface:CharArrayMapper
Returns a copied collection of values.- Specified by:
values
in interfaceCharArrayMapper<V>
- Returns:
- all values in undefined order. The order is not guaranteed to be stable.
-
keys
Description copied from interface:CharArrayMapper
Returns a copied collection of keys.- Specified by:
keys
in interfaceCharArrayMapper<V>
- Returns:
- all keys in undefined order. The order is not guaranteed to be stable.
-
containsKey
public boolean containsKey(char[] key) - Specified by:
containsKey
in interfaceCharArrayMapper<V>
-
get
- Specified by:
get
in interfaceCharArrayMapper<V>
-
put
- Specified by:
put
in interfaceCharArrayMapper<V>
- Returns:
- the previous value
-
size
public int size()- Specified by:
size
in interfaceCharArrayMapper<V>
- Returns:
- the number of keys
-
toString
-