Package com.google.ortools.graph
Enum MaxFlow.Status
- java.lang.Object
-
- java.lang.Enum<MaxFlow.Status>
-
- com.google.ortools.graph.MaxFlow.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MaxFlow.Status>
- Enclosing class:
- MaxFlow
public static enum MaxFlow.Status extends java.lang.Enum<MaxFlow.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_INPUTBAD_RESULTOPTIMALPOSSIBLE_OVERFLOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaxFlow.StatusswigToEnum(int swigValue)intswigValue()static MaxFlow.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MaxFlow.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPTIMAL
public static final MaxFlow.Status OPTIMAL
-
POSSIBLE_OVERFLOW
public static final MaxFlow.Status POSSIBLE_OVERFLOW
-
BAD_INPUT
public static final MaxFlow.Status BAD_INPUT
-
BAD_RESULT
public static final MaxFlow.Status BAD_RESULT
-
-
Method Detail
-
values
public static MaxFlow.Status[] 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 (MaxFlow.Status c : MaxFlow.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaxFlow.Status 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
-
swigValue
public final int swigValue()
-
swigToEnum
public static MaxFlow.Status swigToEnum(int swigValue)
-
-