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 |
|---|---|
| public static final DontCareFieldPosition |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | setBeginIndex(int
the begin index i)Overrides java. |
| public void |
| INSTANCE | back to summary |
|---|---|
| public static final DontCareFieldPosition INSTANCE | |
| DontCareFieldPosition | back to summary |
|---|---|
| private DontCareFieldPosition() | |
| setBeginIndex | back to summary |
|---|---|
| public void setBeginIndex(int i) Overrides java. Doc from java. Sets the begin index. For use by subclasses of Format.
| |
| setEndIndex | back to summary |
|---|---|
| public void setEndIndex(int i) Overrides java. Doc from java. Sets the end index. For use by subclasses of Format.
| |