java.lang.Object
org.ojalgo.type.context.FormatContext<T>
- All Implemented Interfaces:
TypeContext<T>
- Direct Known Subclasses:
BinaryContext,BooleanContext,DateContext,GenericContext,NumberContext,StringContext
Abstract base class for TypeContext implementations backed by Format.
- Author:
- apete
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanUse 'Non-Breaking SPace' character instead of ardinary 'space' character. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidconfigureFormat(Format format, Object object) final Stringprotected abstract StringhandleFormatException(Format format, Object object) protected abstract ThandleParseException(Format format, String string) final Tparse(CharSequence string) final <G> TypeContext<G> withFormat(Format format) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ojalgo.type.context.TypeContext
enforce
-
Field Details
-
NBSP
public static final boolean NBSPUse 'Non-Breaking SPace' character instead of ardinary 'space' character.- See Also:
-
-
Method Details
-
format
- Specified by:
formatin interfaceTypeContext<T>- See Also:
-
getFormat
-
parse
- Specified by:
parsein interfaceTypeContext<T>- See Also:
-
withFormat
-
configureFormat
-
handleFormatException
-
handleParseException
-