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, setPatternpublic IntegerVariableAssignmentParser(CharSequence input)
input - to parsepublic String getVariable()
public int getIntValue()
public long getLongValue()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.