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