clojure.lang
Class ASeq
java.lang.Object
clojure.lang.Obj
clojure.lang.ASeq
- All Implemented Interfaces:
- IHashEq, IMeta, IObj, IPersistentCollection, ISeq, Seqable, Sequential, Serializable, Iterable, Collection, List
- Direct Known Subclasses:
- APersistentMap.KeySeq, APersistentMap.ValSeq, APersistentVector.RSeq, ArraySeq, ArraySeq.ArraySeq_boolean, ArraySeq.ArraySeq_byte, ArraySeq.ArraySeq_char, ArraySeq.ArraySeq_double, ArraySeq.ArraySeq_float, ArraySeq.ArraySeq_int, ArraySeq.ArraySeq_long, ArraySeq.ArraySeq_short, ChunkedCons, Cons, Cycle, EnumerationSeq, Iterate, IteratorSeq, LongRange, PersistentList, PersistentTreeMap.Seq, PersistentVector.ChunkedSeq, Range, Repeat, StringSeq
public abstract class ASeq
- extends Obj
- implements ISeq, Sequential, List, Serializable, IHashEq
- See Also:
- Serialized Form
ASeq
protected ASeq(IPersistentMap meta)
ASeq
protected ASeq()
toString
public String toString()
- Overrides:
toString
in class Object
empty
public IPersistentCollection empty()
- Specified by:
empty
in interface IPersistentCollection
equiv
public boolean equiv(Object obj)
- Specified by:
equiv
in interface IPersistentCollection
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Collection
- Specified by:
equals
in interface List
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection
- Specified by:
hashCode
in interface List
- Overrides:
hashCode
in class Object
hasheq
public int hasheq()
- Specified by:
hasheq
in interface IHashEq
count
public int count()
- Specified by:
count
in interface IPersistentCollection
seq
public final ISeq seq()
- Specified by:
seq
in interface Seqable
cons
public ISeq cons(Object o)
- Specified by:
cons
in interface IPersistentCollection
- Specified by:
cons
in interface ISeq
more
public ISeq more()
- Specified by:
more
in interface ISeq
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection
- Specified by:
toArray
in interface List
add
public boolean add(Object o)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface List
addAll
public boolean addAll(Collection c)
- Specified by:
addAll
in interface Collection
- Specified by:
addAll
in interface List
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface List
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll
in interface Collection
- Specified by:
retainAll
in interface List
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll
in interface Collection
- Specified by:
removeAll
in interface List
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAll
in interface Collection
- Specified by:
containsAll
in interface List
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArray
in interface Collection
- Specified by:
toArray
in interface List
size
public int size()
- Specified by:
size
in interface Collection
- Specified by:
size
in interface List
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
- Specified by:
isEmpty
in interface List
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection
- Specified by:
contains
in interface List
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface List
subList
public List subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface List
set
public Object set(int index,
Object element)
- Specified by:
set
in interface List
remove
public Object remove(int index)
- Specified by:
remove
in interface List
indexOf
public int indexOf(Object o)
- Specified by:
indexOf
in interface List
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interface List
listIterator
public ListIterator listIterator()
- Specified by:
listIterator
in interface List
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIterator
in interface List
get
public Object get(int index)
- Specified by:
get
in interface List
add
public void add(int index,
Object element)
- Specified by:
add
in interface List
addAll
public boolean addAll(int index,
Collection c)
- Specified by:
addAll
in interface List
Copyright © 2015. All Rights Reserved.