|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface NumericTokenStream.NumericTermAttribute
Expert: Use this attribute to get the details of the currently generated token.
| Method Summary | |
|---|---|
long |
getRawValue()
Returns current token's raw value as long with all getShift() applied, undefined before first token |
int |
getShift()
Returns current shift value, undefined before first token |
int |
getValueSize()
Returns value size in bits (32 for float, int; 64 for double, long) |
int |
incShift()
Don't call this method! |
void |
init(long value,
int valSize,
int precisionStep,
int shift)
Don't call this method! |
void |
setShift(int shift)
Don't call this method! |
| Method Detail |
|---|
int getShift()
long getRawValue()
long with all getShift() applied, undefined before first token
int getValueSize()
float, int; 64 for double, long)
void init(long value,
int valSize,
int precisionStep,
int shift)
void setShift(int shift)
int incShift()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||