Cons<A> class

Inheritance

Constructors

Cons(A _head, IList<A> _tail)

Properties

hashCode → int
The hash code for this object.
no setterinherited
no setter
headOption → Option<A>
no setteroverride
isEmpty → bool
no setterinherited
option → Option<IList<A>>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tail → IList<A>
no setter
tailOption → Option<IList<A>>
no setteroverride

Methods

all(bool f(A a)) → bool
inherited
andThen<B>(covariant IList<B> next) → IList<B>
inherited
any(bool f(A a)) → bool
inherited
ap<B>(covariant IList<Function1<A, B>> ff) → IList<B>
inherited
appendElement(A a) → IList<A>
inherited
asCons() → Option<Cons<A>>
override
bind<B>(covariant Function1<A, IList<B>> f) → IList<B>
inherited
concatenate(Monoid<A> mi) → A
inherited
concatenateO(Semigroup<A> si) → Option<A>
inherited
every(bool f(A a)) → bool
inherited
filter(bool predicate(A a)) → IList<A>
inherited
find(bool predicate(A a)) → Option<A>
inherited
flatMap<B>(covariant Function1<A, IList<B>> f) → IList<B>
inherited
foldLeft<B>(B z, B f(B previous, A a)) → B
inherited
foldLeftWithIndex<B>(B z, B f(B previous, int i, A a)) → B
inherited
foldMap<B>(Monoid<B> bMonoid, B f(A a)) → B
inherited
foldMapO<B>(Semigroup<B> si, B f(A a)) → Option<B>
inherited
foldRight<B>(B z, B f(A a, B previous)) → B
inherited
foldRightWithIndex<B>(B z, B f(int i, A a, B previous)) → B
inherited
forEach(void sideEffect(A a)) → void
inherited
intercalate(Monoid<A> mi, A a) → A
inherited
iterator() → Iterator<A>
inherited
length() → int
inherited
map<B>(B f(A a)) → IList<B>
inherited
mapWithIndex<B>(B f(int i, A a)) → IList<B>
inherited
maximum(Order<A> oa) → Option<A>
inherited
minimum(Order<A> oa) → Option<A>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
partition(bool f(A a)) → Tuple2<IList<A>, IList<A>>
inherited
plus(covariant IList<A> l2) → IList<A>
inherited
prependElement(A a) → IList<A>
inherited
replace<B>(B replacement) → IList<B>
inherited
reverse() → IList<A>
inherited
sort(Order<A> oa) → IList<A>
inherited
strengthL<B>(B b) → IList<Tuple2<B, A>>
inherited
strengthR<B>(B b) → IList<Tuple2<A, B>>
inherited
toIterable() → Iterable<A>
inherited
toList() → List<A>
inherited
toString() → String
A string representation of this object.
inherited
traverseEither<B, L>(Either<L, B> f(A a)) → Either<L, IList<B>>
inherited
traverseEvaluation<B, E, R, W, S>(Monoid<W> WMi, Evaluation<E, R, W, S, B> f(A a)) → Evaluation<E, R, W, S, IList<B>>
inherited
traverseFree<F, B>(Free<F, B> f(A a)) → Free<F, IList<B>>
inherited
traverseFuture<B>(Future<B> f(A a)) → Future<IList<B>>
inherited
traverseOption<B>(Option<B> f(A a)) → Option<IList<B>>
inherited
traverseOptionM<B>(Option<IList<B>> f(A a)) → Option<IList<B>>
inherited
traverseState<B, S>(State<S, B> f(A a)) → State<S, IList<B>>
inherited
traverseTask<B>(Task<B> f(A a)) → Task<IList<B>>
inherited
uncons<B>(B z(), B f(A head, IList<A> tail)) → B
inherited
unconsO<B>(B f(A head, IList<A> tail)) → Option<B>
inherited
where(bool predicate(A a)) → IList<A>
inherited
zip<B>(IList<B> bs) → IList<Tuple2<A, B>>
inherited
zipWithIndex() → IList<Tuple2<int, A>>
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited