Class StringConverterFactory.IntConverter

java.lang.Object
repast.simphony.parameter.StringConverterFactory.IntConverter
All Implemented Interfaces:
StringConverter
Enclosing class:
StringConverterFactory

public static class StringConverterFactory.IntConverter extends Object
  • Constructor Details

    • IntConverter

      public IntConverter()
  • Method Details

    • fromString

      public Object fromString(String strRep)
      Description copied from interface: StringConverter
      Creates an Object from a String representation.
      Parameters:
      strRep - the string representation
      Returns:
      the created Object.
    • toString

      public String toString(Object obj)
      Description copied from interface: StringConverter
      Converts the specified object to a String representation and returns that representation. The represenation should be such that fromString can recreate the Object.
      Specified by:
      toString in interface StringConverter
      Parameters:
      obj - the Object to convert.
      Returns:
      a String representation of the Object.