public class PersistentQueue extends Obj implements IPersistentList, Collection, Counted, IHashEq
| Modifier and Type | Field and Description |
|---|---|
static PersistentQueue |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
clear() |
PersistentQueue |
cons(Object o) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
int |
count() |
IPersistentCollection |
empty() |
boolean |
equals(Object obj) |
boolean |
equiv(Object obj) |
int |
hashCode() |
int |
hasheq() |
boolean |
isEmpty() |
Iterator |
iterator() |
Object |
peek() |
PersistentQueue |
pop() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
ISeq |
seq() |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
PersistentQueue |
withMeta(IPersistentMap meta) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitparallelStream, removeIf, spliterator, streampublic static final PersistentQueue EMPTY
public boolean equiv(Object obj)
equiv in interface IPersistentCollectionpublic boolean equals(Object obj)
equals in interface Collectionequals in class Objectpublic int hashCode()
hashCode in interface CollectionhashCode in class Objectpublic Object peek()
peek in interface IPersistentStackpublic PersistentQueue pop()
pop in interface IPersistentStackpublic int count()
count in interface Countedcount in interface IPersistentCollectionpublic PersistentQueue cons(Object o)
cons in interface IPersistentCollectionpublic IPersistentCollection empty()
empty in interface IPersistentCollectionpublic PersistentQueue withMeta(IPersistentMap meta)
public Object[] toArray()
toArray in interface Collectionpublic boolean add(Object o)
add in interface Collectionpublic boolean remove(Object o)
remove in interface Collectionpublic boolean addAll(Collection c)
addAll in interface Collectionpublic void clear()
clear in interface Collectionpublic boolean retainAll(Collection c)
retainAll in interface Collectionpublic boolean removeAll(Collection c)
removeAll in interface Collectionpublic boolean containsAll(Collection c)
containsAll in interface Collectionpublic Object[] toArray(Object[] a)
toArray in interface Collectionpublic int size()
size in interface Collectionpublic boolean isEmpty()
isEmpty in interface Collectionpublic boolean contains(Object o)
contains in interface Collectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface CollectionCopyright © 2026. All rights reserved.