Class jive.erlang.EVar
All Packages Class Hierarchy This Package Previous Next Index
Class jive.erlang.EVar
java.lang.Object
|
+----jive.erlang.EVar
- public 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
-
EATOM
-
-
EBINARY
-
-
EFLOAT
-
-
EINTEGER
-
-
ELIST
-
-
EPROCESS
-
-
ESTRING
-
-
ETUPLE
-
-
type
- The type of this Variable.
Possible types are:
EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY
-
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
ESTRING
public final static byte ESTRING
ELIST
public final static byte ELIST
ETUPLE
public final static byte ETUPLE
EATOM
public final static byte EATOM
EINTEGER
public final static byte EINTEGER
EPROCESS
public final static byte EPROCESS
EFLOAT
public final static byte EFLOAT
EBINARY
public final static byte EBINARY
type
protected byte type
- The type of this Variable.
Possible types are:
EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY
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
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