Enum Class CSVInterface.DATA_MODE

java.lang.Object
java.lang.Enum<CSVInterface.DATA_MODE>
net.simplace.sim.io.interfaces.CSVInterface.DATA_MODE
All Implemented Interfaces:
Serializable, Comparable<CSVInterface.DATA_MODE>, Constable
Enclosing class:
CSVInterface

public static enum CSVInterface.DATA_MODE extends Enum<CSVInterface.DATA_MODE>
How array values are stored in the file.
Author:
Andreas Enders
  • Enum Constant Details

    • ROW

      public static final CSVInterface.DATA_MODE ROW
      one line per array element (lines with the same key form one array)
    • COL

      public static final CSVInterface.DATA_MODE COL
      one column per array element (name_1, name_2, ...)
  • Method Details

    • values

      public static CSVInterface.DATA_MODE[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CSVInterface.DATA_MODE valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null