Package | Description |
---|---|
clojure.lang |
Modifier and Type | Class and Description |
---|---|
class |
PersistentList |
(package private) static class |
PersistentList.EmptyList |
class |
PersistentQueue
conses onto rear, peeks/pops from front
See Okasaki's Batched Queues
This differs in that it uses a PersistentVector as the rear, which is in-order,
so no reversing or suspensions required for persistent use
|
Modifier and Type | Field and Description |
---|---|
private IPersistentList |
PersistentList._rest |
Modifier and Type | Method and Description |
---|---|
static IPersistentList |
PersistentList.create(java.util.List init) |
IPersistentList |
PersistentList.pop() |
IPersistentList |
PersistentList.EmptyList.pop() |
Constructor and Description |
---|
PersistentList(IPersistentMap meta,
java.lang.Object _first,
IPersistentList _rest,
int _count) |