Class CharSetOfFew
java.lang.Object
ch.randelshofer.fastdoubleparser.chr.CharSetOfFew
- All Implemented Interfaces:
CharSet
A set of
char with linear search.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(char ch) Returns true if the set contains the specified character.
-
Field Details
-
chars
private final char[] chars
-
-
Constructor Details
-
CharSetOfFew
-
-
Method Details
-
containsKey
public boolean containsKey(char ch) Description copied from interface:CharSetReturns true if the set contains the specified character.- Specified by:
containsKeyin interfaceCharSet- Parameters:
ch- a character- Returns:
- true if the byte is in the set
-