Package eu.bandm.tools.ops
Class LazyLists
java.lang.Object
eu.bandm.tools.ops.LazyLists
Library of constants and combinators for classes implementing
LazyList
.-
Method Summary
Modifier and TypeMethodDescriptionstatic <A> LazyList<A>
(package private) static <A> LazyList<A>
static <A> LazyList<A>
(package private) static <A> LazyList<A>
static <A> LazyList<A>
count
(int from) static <A> LazyList<A>
static <A> LazyList<A>
empty()
static <A> LazyList<A>
static <A> LazyList<A>
from
(A... things) static <A> LazyList<A>
(package private) static <A> LazyList<A>
static <A> LazyList<A>
static void
static <A,
B> LazyList<B> static <A> LazyList<A>
merge
(Comparator<? super A> order, boolean removeDuplicates, LazyList<A> left, LazyList<A> right) static <A> LazyList<A>
static <A> LazyList<A>
singleton
(A head) static <A> LazyList<A>
-
Method Details
-
fromList
-
from
-
from
-
from
-
empty
-
cons
-
singleton
-
concat
-
concat
-
concat
-
concat
-
count
-
take
-
drop
-
map
-
filter
-
reverse
-
merge
public static <A> LazyList<A> merge(Comparator<? super A> order, boolean removeDuplicates, LazyList<A> left, LazyList<A> right) -
main
-