Package com.kenai.jffi
Class ObjectParameterType
- java.lang.Object
-
- com.kenai.jffi.ObjectParameterType
-
public final class ObjectParameterType extends java.lang.Object
Describes the type of an object parameter (e.g. byte array, byte buffer)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ObjectParameterType.ComponentType
static class
ObjectParameterType.ObjectType
private static class
ObjectParameterType.TypeCache
-
Field Summary
Fields Modifier and Type Field Description static ObjectParameterType.ObjectType
ARRAY
static ObjectParameterType.ComponentType
BOOLEAN
static ObjectParameterType.ObjectType
BUFFER
static ObjectParameterType.ComponentType
BYTE
static ObjectParameterType.ComponentType
CHAR
static ObjectParameterType.ComponentType
DOUBLE
static ObjectParameterType.ComponentType
FLOAT
static ObjectParameterType.ComponentType
INT
(package private) static ObjectParameterType
INVALID
static ObjectParameterType.ComponentType
LONG
(package private) static ObjectParameterType
NONE
static ObjectParameterType.ComponentType
SHORT
(package private) int
typeInfo
-
Constructor Summary
Constructors Constructor Description ObjectParameterType(int typeInfo)
ObjectParameterType(ObjectParameterType.ObjectType objectType, ObjectParameterType.ComponentType componentType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectParameterType
create(ObjectParameterType.ObjectType objectType, ObjectParameterType.ComponentType componentType)
boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
Field Detail
-
typeInfo
final int typeInfo
-
INVALID
static final ObjectParameterType INVALID
-
NONE
static final ObjectParameterType NONE
-
ARRAY
public static final ObjectParameterType.ObjectType ARRAY
-
BUFFER
public static final ObjectParameterType.ObjectType BUFFER
-
BYTE
public static final ObjectParameterType.ComponentType BYTE
-
SHORT
public static final ObjectParameterType.ComponentType SHORT
-
INT
public static final ObjectParameterType.ComponentType INT
-
LONG
public static final ObjectParameterType.ComponentType LONG
-
FLOAT
public static final ObjectParameterType.ComponentType FLOAT
-
DOUBLE
public static final ObjectParameterType.ComponentType DOUBLE
-
BOOLEAN
public static final ObjectParameterType.ComponentType BOOLEAN
-
CHAR
public static final ObjectParameterType.ComponentType CHAR
-
-
Constructor Detail
-
ObjectParameterType
ObjectParameterType(int typeInfo)
-
ObjectParameterType
ObjectParameterType(ObjectParameterType.ObjectType objectType, ObjectParameterType.ComponentType componentType)
-
-
Method Detail
-
create
public static ObjectParameterType create(ObjectParameterType.ObjectType objectType, ObjectParameterType.ComponentType componentType)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-