public class Repeat extends ASeq implements IReduce, IDrop
Modifier and Type | Method and Description |
---|---|
static ISeq |
create(long count,
Object val) |
static Repeat |
create(Object val) |
Sequential |
drop(int n)
Returns a collection that is Sequential, ISeq, and IReduceInit.
|
Object |
first() |
ISeq |
next() |
Object |
reduce(IFn f) |
Object |
reduce(IFn f,
Object start) |
Repeat |
withMeta(IPersistentMap meta) |
add, add, addAll, addAll, clear, cons, contains, containsAll, count, empty, equals, equiv, get, hashCode, hasheq, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, more, remove, remove, removeAll, retainAll, seq, set, size, subList, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public Repeat withMeta(IPersistentMap meta)
public Object reduce(IFn f, Object start)
reduce
in interface IReduceInit
public Sequential drop(int n)
IDrop
Copyright © 2024. All rights reserved.