Package com.ibm.icu.impl
Class DontCareFieldPosition
- java.lang.Object
-
- java.text.FieldPosition
-
- com.ibm.icu.impl.DontCareFieldPosition
-
public final class DontCareFieldPosition extends java.text.FieldPosition
DontCareFieldPosition is a subclass of FieldPosition that indicates that the caller is not interested in the start and end position of any field.DontCareFieldPosition is a singleton, and its instance is immutable.
A
format
method usefpos == DontCareFieldPosition.INSTANCE
to tell whether or not it needs to calculate a field position.
-
-
Field Summary
Fields Modifier and Type Field Description static DontCareFieldPosition
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
DontCareFieldPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setBeginIndex(int i)
void
setEndIndex(int i)
-
-
-
Field Detail
-
INSTANCE
public static final DontCareFieldPosition INSTANCE
-
-