Package adams.data.objectfilter
Enum MakeSquare.SideType
- java.lang.Object
-
- java.lang.Enum<MakeSquare.SideType>
-
- adams.data.objectfilter.MakeSquare.SideType
-
- All Implemented Interfaces:
Serializable
,Comparable<MakeSquare.SideType>
- Enclosing class:
- MakeSquare
public static enum MakeSquare.SideType extends Enum<MakeSquare.SideType>
the side to use.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MakeSquare.SideType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MakeSquare.SideType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMALLER
public static final MakeSquare.SideType SMALLER
-
LARGER
public static final MakeSquare.SideType LARGER
-
WIDTH
public static final MakeSquare.SideType WIDTH
-
HEIGHT
public static final MakeSquare.SideType HEIGHT
-
-
Method Detail
-
values
public static MakeSquare.SideType[] 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 (MakeSquare.SideType c : MakeSquare.SideType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MakeSquare.SideType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-