Package cds.healpix.fillingcurve
Enum FillingCurve2DType
- java.lang.Object
-
- java.lang.Enum<FillingCurve2DType>
-
- cds.healpix.fillingcurve.FillingCurve2DType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FillingCurve2DType>
public enum FillingCurve2DType extends java.lang.Enum<FillingCurve2DType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Z_ORDER_LUPT
Z_ORDER_OR
Z_ORDER_XOR
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract FillingCurve2D
get(int depth)
static FillingCurve2DType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FillingCurve2DType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Z_ORDER_OR
public static final FillingCurve2DType Z_ORDER_OR
-
Z_ORDER_XOR
public static final FillingCurve2DType Z_ORDER_XOR
-
Z_ORDER_LUPT
public static final FillingCurve2DType Z_ORDER_LUPT
-
-
Method Detail
-
values
public static FillingCurve2DType[] 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 (FillingCurve2DType c : FillingCurve2DType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FillingCurve2DType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
get
public abstract FillingCurve2D get(int depth)
-
-