|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ericsson.otp.erlang.OtpErlangObject
com.ericsson.otp.erlang.OtpErlangList
com.ericsson.otp.erlang.OtpErlangList.SubList
public static class OtpErlangList.SubList
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ericsson.otp.erlang.OtpErlangList |
|---|
OtpErlangList.SubList |
| Method Summary | |
|---|---|
int |
arity()
Get the arity of the list. |
OtpErlangObject |
elementAt(int i)
Get the specified element from the list. |
OtpErlangObject[] |
elements()
Get all the elements from the list as an array. |
void |
encode(OtpOutputStream stream)
Convert this list to the equivalent Erlang external representation. |
OtpErlangObject |
getHead()
|
OtpErlangObject |
getLastTail()
|
OtpErlangObject |
getNthTail(int n)
|
boolean |
isProper()
|
java.util.Iterator<OtpErlangObject> |
iterator()
|
java.lang.String |
toString()
Get the string representation of the list. |
| Methods inherited from class com.ericsson.otp.erlang.OtpErlangList |
|---|
clone, encode, equals, getTail, toString |
| Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject |
|---|
decode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int arity()
OtpErlangList
arity in class OtpErlangListpublic OtpErlangObject elementAt(int i)
OtpErlangList
elementAt in class OtpErlangListi - the index of the requested element. List elements are
numbered as array elements, starting at 0.
public OtpErlangObject[] elements()
OtpErlangList
elements in class OtpErlangListpublic boolean isProper()
isProper in class OtpErlangListpublic OtpErlangObject getHead()
getHead in class OtpErlangListpublic OtpErlangObject getNthTail(int n)
getNthTail in class OtpErlangListpublic java.lang.String toString()
OtpErlangList
toString in class OtpErlangListpublic void encode(OtpOutputStream stream)
OtpErlangList
encode in class OtpErlangListstream - An output stream to which the encoded list should be
written.public OtpErlangObject getLastTail()
getLastTail in class OtpErlangListpublic java.util.Iterator<OtpErlangObject> iterator()
iterator in interface java.lang.Iterable<OtpErlangObject>iterator in class OtpErlangList
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||