public enum Relationship extends 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()
Gets the relationship obtained when multiplying all coefficients by -1.
|
String |
toString() |
static Relationship |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Relationship>
public Relationship oppositeRelationship()
Copyright © 2019 CNES. All rights reserved.