Package repast.simphony.parameter
Interface StringConverter<T>
-
- All Known Implementing Classes:
FileParameterType
,QuantityConverter
,StringConverterFactory.BooleanConverter
,StringConverterFactory.ByteConverter
,StringConverterFactory.DoubleConverter
,StringConverterFactory.FloatConverter
,StringConverterFactory.IntConverter
,StringConverterFactory.LongConverter
,StringConverterFactory.ShortConverter
,StringConverterFactory.StringStringConverter
public interface StringConverter<T>
Converts an Object to and from a String representation. Subclasses are specialized for specified objects.- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
fromString(String strRep)
Creates an Object from a String representation.String
toString(T obj)
Converts the specified object to a String representation and returns that representation.
-