Class RatReferenceParsing


  • public class RatReferenceParsing
    extends adams.core.option.parsing.AbstractParsing
    For parsing RatReference options.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • RatReferenceParsing

        public RatReferenceParsing()
    • Method Detail

      • toString

        public static String toString​(adams.core.option.AbstractOption option,
                                      Object object)
        Returns the reference as string.
        Parameters:
        option - the current option
        object - the reference object to convert
        Returns:
        the generated string
      • valueOf

        public static Object valueOf​(adams.core.option.AbstractOption option,
                                     String str)
        Returns a reference generated from the string.
        Parameters:
        option - the current option
        str - the string to convert to a reference
        Returns:
        the generated reference