|
JNative project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Type>
org.xvolks.jnative.Type
public enum Type
This enumeration manages the different types of data nedeed by JNative.
$Id: Type.java,v 1.2 2006/01/09 22:26:36 mdenty Exp $;
| Enum Constant Summary | |
|---|---|
INT
Used for in params of type bool, byte to long (32 bits) |
|
LONG
Used for in params of type int64 (64 bits) |
|
PSTRUCT
Not use directly, use a Pointer object instead This is used internaly for out parameters. |
|
STRING
Used for in params of type const char*, LPCSTR |
|
VOID
Used only for return values |
|
| Method Summary | |
|---|---|
java.lang.String |
getType()
|
static Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Type[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 |
|---|
public static final Type VOID
public static final Type INT
public static final Type LONG
public static final Type STRING
public static final Type PSTRUCT
| Method Detail |
|---|
public static final Type[] values()
for(Type c : Type.values())
System.out.println(c);
public static Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String getType()
|
JNative project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||