inherits
State supers: Cons
methods
instance (id) with (All, All, All) (a, d, b); |
Undocumented.
variables
The back pointer.
methods
void set_cbr All c; |
Undocumented.
boolean
dconsp;
|
Undocumented.
protected id (self) init (All, All, All) (a, d, b); |
Undocumented.
(All, All, All) dedcons; |
Undocumented.
void
unlink;
|
Undocumented.
inherits
State supers: State, Enumerator
methods
instance (id) with DList l; |
Undocumented.
variables
The current cell.
methods
id (self) init Cons c; |
Designated initializer.
(boolean, All) next; |
Undocumented.
inherits
State supers: MutableOrdered
methods
instance (id)
new;
|
Undocumented.
variables
methods
Enumerator enumerator; |
Undocumented.
int
length;
|
Undocumented.
void add All object; |
Undocumented.
void
empty;
|
Undocumented.
DCons cellAtIndex int index; |
Undocumented.
void set All object at int index; |
Undocumented.
void swap All object at (int, int) (i, j); |
Undocumented.
void reverse (int, int) (start, len); |
Undocumented.
void
reverse;
|
Fast and easy method for the simplest case.
void pushHeadCons DCons cell; |
Push the cell to the front of the list.
void pushTailCons DCons cell; |
Push the cell to the back of the list.
void pushHead All object; |
Push the element to the front of the list.
void pushTail All object; |
Push the element to the back of the list.
void removeCons DCons cell; |
Remove a cell from the list. The cell should be a member.
All popHead pre head != nil; |
Pop the element from the head of the list.
All popTail pre head != nil; |
Pop the element from the tail of the list.
All first pre head != nil; |
First element of the list.
All last pre head != nil; |
Last element of the list.
boolean
dlistp;
|
Return TRUE.