nom.tam.util
Interface PrimitiveInfo

All Known Implementing Classes:
ArrayFuncs

public interface PrimitiveInfo

This interface collects some information about Java primitives.


Field Summary
static int BOOLEAN_INDEX
           
static int BYTE_INDEX
           
static int CHAR_INDEX
           
static java.lang.Class[] classes
          Classes of the primitives.
static int DOUBLE_INDEX
           
static int FIRST_NUMERIC
          Index of first element of above arrays referring to a numeric type
static int FLOAT_INDEX
           
static int INT_INDEX
           
static boolean[] isNumeric
          Is this a numeric class
static int LAST_NUMERIC
          Index of last element of above arrays referring to a numeric type
static int LONG_INDEX
           
static int SHORT_INDEX
           
static int[] sizes
          Sizes
static char[] suffixes
          Suffixes used for the classnames for primitive arrays.
static java.lang.String[] types
          Full names
 

Field Detail

suffixes

static final char[] suffixes
Suffixes used for the classnames for primitive arrays.


classes

static final java.lang.Class[] classes
Classes of the primitives. These should be in windening order (char is as always a problem).


isNumeric

static final boolean[] isNumeric
Is this a numeric class


types

static final java.lang.String[] types
Full names


sizes

static final int[] sizes
Sizes


FIRST_NUMERIC

static final int FIRST_NUMERIC
Index of first element of above arrays referring to a numeric type

See Also:
Constant Field Values

LAST_NUMERIC

static final int LAST_NUMERIC
Index of last element of above arrays referring to a numeric type

See Also:
Constant Field Values

BYTE_INDEX

static final int BYTE_INDEX
See Also:
Constant Field Values

SHORT_INDEX

static final int SHORT_INDEX
See Also:
Constant Field Values

CHAR_INDEX

static final int CHAR_INDEX
See Also:
Constant Field Values

INT_INDEX

static final int INT_INDEX
See Also:
Constant Field Values

LONG_INDEX

static final int LONG_INDEX
See Also:
Constant Field Values

FLOAT_INDEX

static final int FLOAT_INDEX
See Also:
Constant Field Values

DOUBLE_INDEX

static final int DOUBLE_INDEX
See Also:
Constant Field Values

BOOLEAN_INDEX

static final int BOOLEAN_INDEX
See Also:
Constant Field Values