Package org.networkcalculus.dnc.curves
Enum Curve.CurveOperation
- java.lang.Object
-
- java.lang.Enum<Curve.CurveOperation>
-
- org.networkcalculus.dnc.curves.Curve.CurveOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Curve.CurveOperation>
,java.lang.constant.Constable
- Enclosing interface:
- Curve
public static enum Curve.CurveOperation extends java.lang.Enum<Curve.CurveOperation>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CurveOperation()
-
Method Summary
Modifier and Type Method Description static Curve.CurveOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Curve.CurveOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final Curve.CurveOperation ADD
-
SUB
public static final Curve.CurveOperation SUB
-
MIN
public static final Curve.CurveOperation MIN
-
MAX
public static final Curve.CurveOperation MAX
-
-
Method Detail
-
values
public static Curve.CurveOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Curve.CurveOperation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-