ISet<A> class

Implemented types

Constructors

ISet(AVLTree<A> _tree)
ISet.empty(Order<A> order)
factory
ISet.fromFoldable(Order<A> order, Foldable foldable, dynamic fa)
factory
ISet.fromIList(Order<A> order, IList<A> l)
factory
ISet.fromIterable(Order<A> order, Iterable<A> i)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all(bool f(A a)) bool
override
any(bool f(A a)) bool
override
concatenate(Monoid<A> mi) → A
override
concatenateO(Semigroup<A> si) Option<A>
override
contains(A a) bool
difference(ISet<A> other) ISet<A>
every(bool f(A a)) bool
override
filter(bool predicate(A a)) ISet<A>
foldLeft<B>(B z, B f(B previous, A a)) → B
override
foldLeftBetween<B>(A minA, A maxA, B z, B f(B previous, A a)) → B
foldLeftWithIndex<B>(B z, B f(B previous, int i, A a)) → B
override
foldMap<B>(Monoid<B> bMonoid, B f(A a)) → B
override
foldMapO<B>(Semigroup<B> si, B f(A a)) Option<B>
override
foldRight<B>(B z, B f(A a, B previous)) → B
override
foldRightBetween<B>(A minA, A maxA, B z, B f(A a, B previous)) → B
foldRightWithIndex<B>(B z, B f(int i, A a, B previous)) → B
override
forEach(void sideEffect(A a)) → void
insert(A a) ISet<A>
intercalate(Monoid<A> mi, A a) → A
override
intersection(ISet<A> other) ISet<A>
iterator() Iterator<A>
length() int
override
maximum(Order<A> oa) Option<A>
override
minimum(Order<A> oa) Option<A>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
partition(bool f(A a)) Tuple2<ISet<A>, ISet<A>>
remove(A a) ISet<A>
subSetBetween(A minA, A maxA) ISet<A>
toIList() IList<A>
toIterable() Iterable<A>
toString() String
A string representation of this object.
override
transform<B>(Order<B> order, B f(A a)) ISet<B>
union(ISet<A> other) ISet<A>
where(bool predicate(A a)) ISet<A>

Operators

operator &(ISet<A> other) ISet<A>
operator +(ISet<A> other) ISet<A>
operator -(ISet<A> other) ISet<A>
operator ==(Object other) bool
The equality operator.
override
operator |(ISet<A> other) ISet<A>