pl.edu.icm.jlargearrays
Enum LargeArrayType
- java.lang.Object
-
- java.lang.Enum<LargeArrayType>
-
- pl.edu.icm.jlargearrays.LargeArrayType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LargeArrayType>
public enum LargeArrayType extends java.lang.Enum<LargeArrayType>
Supported types of large arrays.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BYTECOMPLEX_DOUBLECOMPLEX_FLOATDOUBLEFLOATINTLOGICLONGOBJECTSHORTSTRINGUNSIGNED_BYTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisComplexNumericType()Returns true if a given LargeArray type is complex numeric, false otherwisebooleanisIntegerNumericType()Returns true if a given LargeArray type is integer numeric, false otherwisebooleanisNumericType()Returns true if a given LargeArray type is numeric, false otherwisebooleanisRealNumericType()Returns true if a given LargeArray type is real numeric, false otherwiselongsizeOf()Returns the size (in bytes) of a given LargeArray type.static LargeArrayTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LargeArrayType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGIC
public static final LargeArrayType LOGIC
-
BYTE
public static final LargeArrayType BYTE
-
UNSIGNED_BYTE
public static final LargeArrayType UNSIGNED_BYTE
-
SHORT
public static final LargeArrayType SHORT
-
INT
public static final LargeArrayType INT
-
LONG
public static final LargeArrayType LONG
-
FLOAT
public static final LargeArrayType FLOAT
-
DOUBLE
public static final LargeArrayType DOUBLE
-
COMPLEX_FLOAT
public static final LargeArrayType COMPLEX_FLOAT
-
COMPLEX_DOUBLE
public static final LargeArrayType COMPLEX_DOUBLE
-
STRING
public static final LargeArrayType STRING
-
OBJECT
public static final LargeArrayType OBJECT
-
-
Method Detail
-
values
public static LargeArrayType[] 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 (LargeArrayType c : LargeArrayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LargeArrayType 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
-
sizeOf
public long sizeOf()
Returns the size (in bytes) of a given LargeArray type.- Returns:
- size (in bytes) of a given LargeArray type
-
isNumericType
public boolean isNumericType()
Returns true if a given LargeArray type is numeric, false otherwise- Returns:
- true if a given LargeArray type is numeric, false otherwise
-
isIntegerNumericType
public boolean isIntegerNumericType()
Returns true if a given LargeArray type is integer numeric, false otherwise- Returns:
- true if a given LargeArray type is integer numeric, false otherwise
-
isRealNumericType
public boolean isRealNumericType()
Returns true if a given LargeArray type is real numeric, false otherwise- Returns:
- true if a given LargeArray type is real numeric, false otherwise
-
isComplexNumericType
public boolean isComplexNumericType()
Returns true if a given LargeArray type is complex numeric, false otherwise- Returns:
- true if a given LargeArray type is complex numeric, false otherwise
-
-
DataMelt 3.0 © DataMelt by jWork.ORG