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