| Package | Description |
|---|---|
| org.genantics.list |
| Modifier and Type | Class and Description |
|---|---|
class |
CodedList<V>
CodedList implements a "CDR-coded" list.
|
class |
ConsList<V>
Classical immutable list.
|
class |
Nil<V> |
| Modifier and Type | Method and Description |
|---|---|
CList<V> |
Nil.cons(V element) |
CList<V> |
CodedList.cons(V element) |
CList<V> |
CList.cons(V element)
Add an element to the head of the list.
|
CList<V> |
Nil.removeFirst() |
CList<V> |
Nil.tail() |
CList<V> |
ConsList.tail() |
CList<V> |
CodedList.tail() |
CList<V> |
CList.tail()
Get the rest of the list after the head.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
CodedList.reverseVisit(ConditionalVisitor<V> visitor,
int pos,
CList<V> last) |
protected void |
CodedList.reverseVisit(Visitor<V> visitor,
int pos,
CList<V> last) |
| Constructor and Description |
|---|
CodedList(V element,
CList<V> list)
Constructor.
|
Copyright © 2015. All rights reserved.