public class Order extends Object
This class exemplifies the typesafe enum pattern -- the only possible instances are supplied as static final fields of the class, and these instances are immutable.
Modifier and Type | Field and Description |
---|---|
static Order |
COLUMN_MAJOR
Object representing column-major (first-index-fastest) ordering.
|
static Order |
ROW_MAJOR
Object representing row-major (last-index-fastest) ordering.
|
Modifier and Type | Method and Description |
---|---|
static List |
allOrders()
Returns a list of all the known ordering schemes.
|
boolean |
isFitsLike()
Convenience method which returns true for ordering which is
FITS-like and Fortran-like (that is for COLUMN_MAJOR), otherwise false.
|
String |
toString() |
public static final Order COLUMN_MAJOR
public static final Order ROW_MAJOR
public boolean isFitsLike()
public static List allOrders()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.