public enum Constraint extends java.lang.Enum<Constraint>
Enum Constant and Description |
---|
CLIPPED |
NO |
NONNEGATIVE |
NORMALIZED |
RESCALED |
Modifier and Type | Method and Description |
---|---|
static Constraint |
getByName(java.lang.String c) |
static java.lang.String[] |
getContraintsAsArray() |
static Constraint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constraint NO
public static final Constraint NONNEGATIVE
public static final Constraint CLIPPED
public static final Constraint RESCALED
public static final Constraint NORMALIZED
public static Constraint[] values()
for (Constraint c : Constraint.values()) System.out.println(c);
public static Constraint 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 static java.lang.String[] getContraintsAsArray()
public static Constraint getByName(java.lang.String c)
Copyright © , Biomedical Imaging Group, EPFL, Lausanne, Switzerland. All rights reserved.