cz.cuni.jagrlib.piece
Enum OrderSFC.OrderType

java.lang.Object
  extended by java.lang.Enum<OrderSFC.OrderType>
      extended by cz.cuni.jagrlib.piece.OrderSFC.OrderType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OrderSFC.OrderType>
Enclosing class:
OrderSFC

protected static enum OrderSFC.OrderType
extends java.lang.Enum<OrderSFC.OrderType>

Implemented order types.


Enum Constant Summary
ORDER_HILBERT
          Peano-Hilbert curve (2N).
ORDER_M_PEANO
          Meandering Peano curve (3N).
ORDER_MORTON
          Morton ordering = Z-order (2N).
ORDER_PEANO
          Peano curve (3N x 2*3N-1).
 
Method Summary
static OrderSFC.OrderType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OrderSFC.OrderType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ORDER_MORTON

public static final OrderSFC.OrderType ORDER_MORTON
Morton ordering = Z-order (2N).


ORDER_HILBERT

public static final OrderSFC.OrderType ORDER_HILBERT
Peano-Hilbert curve (2N).


ORDER_PEANO

public static final OrderSFC.OrderType ORDER_PEANO
Peano curve (3N x 2*3N-1).


ORDER_M_PEANO

public static final OrderSFC.OrderType ORDER_M_PEANO
Meandering Peano curve (3N).

Method Detail

values

public static OrderSFC.OrderType[] 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 (OrderSFC.OrderType c : OrderSFC.OrderType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OrderSFC.OrderType 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 name
java.lang.NullPointerException - if the argument is null