public abstract class Ascii2Value extends Object implements NumericValue
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
applyFilter
internal flag, true means apply filter and parser
|
protected double |
doubleValue |
protected byte |
fieldCharCount
the number of characters processed by the
|
AsciiMatchFilter |
filter
Injected ascii search filter
|
protected boolean |
filterMateched
internal flag, set to true when filter matches and ready to add to input
buffer for later parsing;
|
protected boolean |
ignoreNotifier
only apply the filter match when the notifier is observed and notifies.
|
protected int |
intermediateVal
intermediate intValue mutated while parsing
|
protected int |
intValue
the actual intValue
|
byte |
length
the length of chars to be processed by parser when the search filter
matches
|
protected long |
longValue |
Object |
notifier
notifies the converter the search filter can be applied.
|
protected boolean |
processCharForParse
internal flag, if true the char event should be used for parsing the
intValue
|
String |
searchFilter |
protected int |
sign
sign
|
| Constructor and Description |
|---|
Ascii2Value() |
Ascii2Value(Object notifier,
byte length,
String searchFilter) |
Ascii2Value(Object notifier,
String searchFilter) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEvent() |
void |
applyFilter(Object notifier) |
double |
doubleValue() |
void |
filterMatched(AsciiMatchFilter filter) |
void |
init() |
int |
intValue() |
long |
longValue() |
boolean |
onSign(CharEvent e) |
protected void |
resetParse() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbyteValue, charValue, floatValue, shortValuepublic Object notifier
public byte length
protected boolean applyFilter
protected boolean filterMateched
protected boolean processCharForParse
protected byte fieldCharCount
protected transient boolean ignoreNotifier
protected int intValue
protected double doubleValue
protected long longValue
protected int sign
protected int intermediateVal
public AsciiMatchFilter filter
public transient String searchFilter
public void applyFilter(Object notifier)
public void filterMatched(AsciiMatchFilter filter)
public final void afterEvent()
public int intValue()
intValue in interface NumericValuepublic long longValue()
longValue in interface NumericValuepublic double doubleValue()
doubleValue in interface NumericValuepublic void init()
public boolean onSign(CharEvent e)
protected void resetParse()
Copyright © 2019. All rights reserved.