public final class IntegerVariableAssignmentParser extends MetaPatternParser
Constructor and Description |
---|
IntegerVariableAssignmentParser(CharSequence input)
Construct.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Gets the int part (eg the '9' from 'x = 9').
|
long |
getLongValue()
Gets the int part as a long.
|
String |
getVariable()
Gets the variable part (eg the 'x' from 'x = 9').
|
advance, atEnd, matcher, matches, setPattern
public IntegerVariableAssignmentParser(CharSequence input)
input
- to parsepublic String getVariable()
public int getIntValue()
public long getLongValue()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.