public enum Relationship extends java.lang.Enum<Relationship>
LinearConstraint
.Enum Constant and Description |
---|
EQ
Equality relationship.
|
GEQ
Greater than or equal relationship.
|
LEQ
Lesser than or equal relationship.
|
Modifier and Type | Method and Description |
---|---|
Relationship |
oppositeRelationship()
Get the relationship obtained when multiplying all coefficients by -1.
|
java.lang.String |
toString() |
static Relationship |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationship EQ
public static final Relationship LEQ
public static final Relationship GEQ
public static Relationship[] values()
for (Relationship c : Relationship.values()) System.out.println(c);
public static Relationship 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 java.lang.String toString()
toString
in class java.lang.Enum<Relationship>
public Relationship oppositeRelationship()
Copyright © 2010 - 2020 Adobe. All Rights Reserved