Package repast.simphony.data2
Enum ConsoleDataSink.OutputStream
- java.lang.Object
-
- java.lang.Enum<ConsoleDataSink.OutputStream>
-
- repast.simphony.data2.ConsoleDataSink.OutputStream
-
- All Implemented Interfaces:
Serializable
,Comparable<ConsoleDataSink.OutputStream>
- Enclosing class:
- ConsoleDataSink
public static enum ConsoleDataSink.OutputStream extends Enum<ConsoleDataSink.OutputStream>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsoleDataSink.OutputStream
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConsoleDataSink.OutputStream[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OUT
public static final ConsoleDataSink.OutputStream OUT
-
ERR
public static final ConsoleDataSink.OutputStream ERR
-
-
Method Detail
-
values
public static ConsoleDataSink.OutputStream[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConsoleDataSink.OutputStream c : ConsoleDataSink.OutputStream.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsoleDataSink.OutputStream valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-