All Packages Class Hierarchy This Package Previous Next Index
Class jive.erlang.EList
java.lang.Object
|
+----jive.erlang.EVar
|
+----jive.erlang.EList
- public class EList
- extends EVar
EList is a class that encapsulates an Erlang List.
- Author:
- Kaj Nygren (kaj@medialab.ericsson.se), Joakim Grebenö (jocke@erix.ericsson.se)
-
EList()
-
Creates an empty list.
-
EList(EVar)
-
Creates a list with 1 element.
-
EList(EVar, EVar)
-
Creates a list with 2 elements.
-
EList(EVar, EVar, EVar)
-
Creates a list with 3 elements.
-
EList(EVar, EVar, EVar, EVar)
-
Creates a list with 4 elements.
-
EList(EVar, EVar, EVar, EVar, EVar)
-
Creates a list with 5 elements.
-
EList(EVar, EVar, EVar, EVar, EVar, EVar)
-
Creates a list with 6 elements.
-
EList(EVar[])
-
Creates a list from an array of EVar elements.
-
elementAt(int)
-
Returns the EVar at the specified index.
-
elements()
-
Returns an enumeration of the EVars in this list.
-
length()
-
Returns the number of EVars in this list.
-
pack()
-
Packs the Erlang List into a byte array.
-
value()
-
Returns this list as an array of EVar elements.
EList
public EList()
- Creates an empty list.
EList
public EList(EVar el1)
- Creates a list with 1 element.
EList
public EList(EVar el1,
EVar el2)
- Creates a list with 2 elements.
EList
public EList(EVar el1,
EVar el2,
EVar el3)
- Creates a list with 3 elements.
EList
public EList(EVar el1,
EVar el2,
EVar el3,
EVar el4)
- Creates a list with 4 elements.
EList
public EList(EVar el1,
EVar el2,
EVar el3,
EVar el4,
EVar el5)
- Creates a list with 5 elements.
EList
public EList(EVar el1,
EVar el2,
EVar el3,
EVar el4,
EVar el5,
EVar el6)
- Creates a list with 6 elements.
EList
public EList(EVar el[])
- Creates a list from an array of EVar elements.
value
public EVar[] value()
- Returns this list as an array of EVar elements.
length
public int length()
- Returns the number of EVars in this list.
elementAt
public EVar elementAt(int index)
- Returns the EVar at the specified index.
elements
public Enumeration elements()
- Returns an enumeration of the EVars in this list.
pack
public byte[] pack()
- Packs the Erlang List into a byte array.
Used when sending the list to an Erlang server.
- Overrides:
- pack in class EVar
All Packages Class Hierarchy This Package Previous Next Index