Package org.apache.juneau.common.utils
Class AsciiMap
java.lang.Object
org.apache.juneau.common.utils.AsciiMap
Stores a Map of ASCII characters to Strings in a quick-lookup array.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdds an entry to this map.booleancontains(char c) Returnstrue if the specified character is in this store.booleancontains(int c) Returnstrue if the specified character is in this store.booleanReturnstrue if the specified string contains at least one character in this set.get(char c) Returns the value for the specified key.
- 
Constructor Details- 
AsciiMappublic AsciiMap()
 
- 
- 
Method Details- 
appendAdds an entry to this map.- Parameters:
- c- The key.
- s- The value.
- Returns:
- This object.
 
- 
getReturns the value for the specified key.- Parameters:
- c- The key.
- Returns:
- The value.
 
- 
containsReturnstrue if the specified character is in this store.- Parameters:
- c- The character to check.
- Returns:
- true if the specified character is in this store.
 
- 
containsReturnstrue if the specified character is in this store.- Parameters:
- c- The character to check.
- Returns:
- true if the specified character is in this store.
 
- 
containsReturnstrue if the specified string contains at least one character in this set.- Parameters:
- s- The string to test.
- Returns:
- true if the string is not null and contains at least one character in this set.
 
 
-