Class CharArrayHashMap<V>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.CharArrayHashMap<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(char[] key) get(char[] key) Collection<char[]> keys()Returns a copied collection of keys.intsize()toString()values()Returns a copied collection of values.
-
Constructor Details
-
CharArrayHashMap
public CharArrayHashMap(int initialCapacity)
-
-
Method Details
-
values
Description copied from interface:CharArrayMapperReturns a copied collection of values.- Specified by:
valuesin interfaceCharArrayMapper<V>- Returns:
- all values in undefined order. The order is not guaranteed to be stable.
-
keys
Description copied from interface:CharArrayMapperReturns a copied collection of keys.- Specified by:
keysin interfaceCharArrayMapper<V>- Returns:
- all keys in undefined order. The order is not guaranteed to be stable.
-
containsKey
public boolean containsKey(char[] key) - Specified by:
containsKeyin interfaceCharArrayMapper<V>
-
get
- Specified by:
getin interfaceCharArrayMapper<V>
-
put
- Specified by:
putin interfaceCharArrayMapper<V>- Returns:
- the previous value
-
size
public int size()- Specified by:
sizein interfaceCharArrayMapper<V>- Returns:
- the number of keys
-
toString
-