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

Variable Index

 o EATOM
 o EBINARY
 o EFLOAT
 o EINTEGER
 o ELIST
 o EPROCESS
 o ESTRING
 o ETUPLE
 o type
The type of this Variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY

Constructor Index

 o EVar()

Method Index

 o concat(byte[], byte[])
Concatenates two byte arrays into one large array.
 o intToBytes(int, byte[], int)
Packs an integer into a byte array.
 o pack()
Called to pack the variable into a byte array.
 o type()
Returns the type of this variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY

Variables

 o ESTRING
  public final static byte ESTRING
 o ELIST
  public final static byte ELIST
 o ETUPLE
  public final static byte ETUPLE
 o EATOM
  public final static byte EATOM
 o EINTEGER
  public final static byte EINTEGER
 o EPROCESS
  public final static byte EPROCESS
 o EFLOAT
  public final static byte EFLOAT
 o EBINARY
  public final static byte EBINARY
 o type
  protected byte type
The type of this Variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY

Constructors

 o EVar
  public EVar()

Methods

 o pack
  public abstract byte[] pack()
Called to pack the variable into a byte array.

Note:Must be overridden in subclasses.

 o type
  public byte type()
Returns the type of this variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY
 o concat
  public static byte[] concat(byte src1[],
                              byte src2[])
Concatenates two byte arrays into one large array.
 o 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