Class DontCareFieldPosition


  • public final class DontCareFieldPosition
    extends 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 use fpos == DontCareFieldPosition.INSTANCE to tell whether or not it needs to calculate a field position.