All Packages Class Hierarchy This Package Previous Next Index
Class jive.erlang.EVar
java.lang.Object
|
+----jive.erlang.EVar
- public abstract class EVar
- extends Object
EVar is an abstract superclass for Erlang variables.
EInteger, EString, EAtom, EFloat, ETuple, EList, EBinary and EProcess are
subclasses of EVar.
- Author:
- Kaj Nygren (kaj@medialab.ericsson.se), Joakim Grebenö (jocke@erix.ericsson.se)
- See Also:
- EInteger, EString, EAtom, EFloat, ETuple, EList, EProcess, EBinary, EReference, EPort, EPid
-
EATOM
-
-
EBINARY
-
-
EFLOAT
-
-
EINTEGER
-
-
ELIST
-
-
EPID
-
-
EPORT
-
-
EPROCESS
-
-
EREFERENCE
-
-
ESTRING
-
-
ETUPLE
-
-
type
- The type of this Variable.
Possible types are:
EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY,
EREFERENCE, EPORT, EPID
-
EVar()
-
-
concat(byte[], byte[])
- Concatenates two byte arrays into one large array.
-
intToBytes(int, byte[], int)
- Packs an integer into a byte array.
-
pack()
-
Called to pack the variable into a byte array.
-
type()
-
Returns the type of this variable.
Possible types are:
EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY,
EREFERENCE, EPORT, EPID
ESTRING
public static final byte ESTRING
ELIST
public static final byte ELIST
ETUPLE
public static final byte ETUPLE
EATOM
public static final byte EATOM
EINTEGER
public static final byte EINTEGER
EPROCESS
public static final byte EPROCESS
EFLOAT
public static final byte EFLOAT
EBINARY
public static final byte EBINARY
EREFERENCE
public static final byte EREFERENCE
EPORT
public static final byte EPORT
EPID
public static final byte EPID
type
protected byte type
- The type of this Variable.
Possible types are:
EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY,
EREFERENCE, EPORT, EPID
EVar
public EVar()
pack
public abstract byte[] pack()
- Called to pack the variable into a byte array.
Note:Must be overridden in subclasses.
type
public byte type()
- Returns the type of this variable.
Possible types are:
EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY,
EREFERENCE, EPORT, EPID
concat
public static byte[] concat(byte src1[],
byte src2[])
- Concatenates two byte arrays into one large array.
intToBytes
public static void intToBytes(int val,
byte buffer[],
int start)
- Packs an integer into a byte array.
All Packages Class Hierarchy This Package Previous Next Index