public final class DontCareFieldPosition extends FieldPosition
DontCareFieldPosition is a singleton, and its instance is immutable.
A format method use fpos == DontCareFieldPosition.INSTANCE
to tell whether or not it needs to calculate a field position.
| Modifier and Type | Field and Description |
|---|---|
static DontCareFieldPosition |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
setBeginIndex(int i) |
void |
setEndIndex(int i) |
equals, getBeginIndex, getEndIndex, getField, getFieldAttribute, hashCode, toStringpublic static final DontCareFieldPosition INSTANCE
public void setBeginIndex(int i)
setBeginIndex in class FieldPositionpublic void setEndIndex(int i)
setEndIndex in class FieldPosition