Package kboyle.oktane.core.prefix
Class StringPrefix
java.lang.Object
kboyle.oktane.core.prefix.StringPrefix
- All Implemented Interfaces:
Prefix
Represents a
String
prefix.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringPrefix
-
-
Method Details
-
find
Description copied from interface:Prefix
Returns the index after the prefix, -1 if not found.- Specified by:
find
in interfacePrefix
- Parameters:
context
- The current executionCommandContext
.- Returns:
- The index where the current prefix ends, -1 if not found.
-
value
-
toString
-
equals
-
hashCode
public int hashCode()
-