public static enum MaxFlow.Status extends java.lang.Enum<MaxFlow.Status>
Enum Constant and Description |
---|
BAD_INPUT |
BAD_RESULT |
OPTIMAL |
POSSIBLE_OVERFLOW |
Modifier and Type | Method and Description |
---|---|
static MaxFlow.Status |
swigToEnum(int swigValue) |
int |
swigValue() |
static MaxFlow.Status |
valueOf(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.
|
public static final MaxFlow.Status OPTIMAL
public static final MaxFlow.Status POSSIBLE_OVERFLOW
public static final MaxFlow.Status BAD_INPUT
public static final MaxFlow.Status BAD_RESULT
public static MaxFlow.Status[] values()
for (MaxFlow.Status c : MaxFlow.Status.values()) System.out.println(c);
public static MaxFlow.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int swigValue()
public static MaxFlow.Status swigToEnum(int swigValue)
Copyright © 2025. All rights reserved.