Package repast.simphony.parameter
Class StringConverterFactory.ShortConverter
java.lang.Object
repast.simphony.parameter.StringConverterFactory.ShortConverter
- All Implemented Interfaces:
StringConverter
- Enclosing class:
- StringConverterFactory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShortConverter
public ShortConverter()
-
-
Method Details
-
fromString
Description copied from interface:StringConverterCreates an Object from a String representation.- Parameters:
strRep- the string representation- Returns:
- the created Object.
-
toString
Description copied from interface:StringConverterConverts the specified object to a String representation and returns that representation. The represenation should be such thatfromStringcan recreate the Object.- Specified by:
toStringin interfaceStringConverter- Parameters:
obj- the Object to convert.- Returns:
- a String representation of the Object.
-