gnu.crypto.util
public final class SimpleList extends AbstractList
Version: $Revision: 1.2 $
| Constructor Summary | |
|---|---|
| SimpleList(Object element)
Create a singleton list.
| |
| SimpleList(Object e1, Object e2)
Create an ordered pair (2-tuple).
| |
| SimpleList(Object e1, Object e2, Object e3)
Create a 3-tuple.
| |
| SimpleList(Object e1, Object e2, Object e3, Object e4)
Create a 4-tuple.
| |
| SimpleList()
Create the empty list. | |
| SimpleList(Collection c)
Create an n-tuple of arbitrary size. | |
| Method Summary | |
|---|---|
| Object | get(int index) |
| int | size() |
| String | toString() |
Parameters: e1 The first element.
Parameters: e1 The first element. e2 The second element.
Parameters: e1 The first element. e2 The second element. e3 The third element.
Parameters: e1 The first element. e2 The second element. e3 The third element. e4 The fourth element.
Parameters: c The collection.