PersistentHashSet<E> class
- Implemented types
-
- Mixed-in types
-
- Available extensions
Properties
-
$UNDERSCORE_$UNDERSCORE_hash
↔ int
-
getter/setter pair
-
first
→ E
-
The first element.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hm
→ PersistentHashMap<E, E>
-
final
-
isEmpty
→ bool
-
Whether this collection has no elements.
no setterinherited
-
isNotEmpty
→ bool
-
Whether this collection has at least one element.
no setterinherited
-
iterator
→ Iterator<E>
-
An iterator that iterates over the elements of this set.
no setteroverride
-
last
→ E
-
The last element.
no setterinherited
-
length
→ int
-
The number of elements in this Iterable.
no setteroverride
-
meta
→ dynamic
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
single
→ E
-
Checks that this iterable has only one element, and returns that element.
no setterinherited
Methods
-
$_apply$1(dynamic more$1)
→ dynamic
-
inherited
-
$_as_transient$0()
→ dynamic
-
override
-
$_conj$1(dynamic o$1)
→ dynamic
-
override
-
$_contains_key$QMARK_$1(dynamic k$2)
→ dynamic
-
override
-
$_count$0()
→ dynamic
-
override
-
$_disjoin$1(dynamic v$3)
→ dynamic
-
override
-
$_empty$0()
→ dynamic
-
override
-
$_equiv$1(dynamic other$1)
→ dynamic
-
override
-
$_hash$0()
→ dynamic
-
override
-
$_hash_realized$QMARK_$0()
→ dynamic
-
inherited
-
$_invoke$0()
→ dynamic
-
inherited
-
$_invoke$1(dynamic k$3)
→ dynamic
-
override
-
$_invoke$2(dynamic k$4, dynamic not_found$2)
→ dynamic
-
override
-
$_invoke$3(dynamic a$2, dynamic b$2, dynamic c$2)
→ dynamic
-
inherited
-
$_invoke$4(dynamic a$7, dynamic b$6, dynamic c$5, dynamic d$4)
→ dynamic
-
inherited
-
$_invoke$5(dynamic a$3, dynamic b$3, dynamic c$3, dynamic d$2, dynamic e$2)
→ dynamic
-
inherited
-
$_invoke$6(dynamic a$1, dynamic b$1, dynamic c$1, dynamic d$1, dynamic e$1, dynamic f$1)
→ dynamic
-
inherited
-
$_invoke$7(dynamic a$9, dynamic b$8, dynamic c$7, dynamic d$6, dynamic e$5, dynamic f$4, dynamic g$3)
→ dynamic
-
inherited
-
$_invoke$8(dynamic a$6, dynamic b$5, dynamic c$4, dynamic d$3, dynamic e$3, dynamic f$2, dynamic g$1, dynamic h$1)
→ dynamic
-
inherited
-
$_invoke$9(dynamic a$8, dynamic b$7, dynamic c$6, dynamic d$5, dynamic e$4, dynamic f$3, dynamic g$2, dynamic h$2, dynamic i$1)
→ dynamic
-
inherited
-
$_invoke_more$10(dynamic a$10, dynamic b$9, dynamic c$8, dynamic d$7, dynamic e$6, dynamic f$5, dynamic g$4, dynamic h$3, dynamic i$2, dynamic rest$1)
→ dynamic
-
inherited
-
$_lookup$1(dynamic v$1)
→ dynamic
-
override
-
$_lookup$2(dynamic v$2, dynamic not_found$1)
→ dynamic
-
override
-
$_meta$0()
→ dynamic
-
override
-
$_print$1(dynamic sink$1)
→ dynamic
-
override
-
$_seq$0()
→ dynamic
-
override
-
$_with_meta$1(dynamic new_meta$1)
→ dynamic
-
override
-
add(E e$3)
→ bool
-
Adds
value
to the set.
override
-
addAll(Iterable<E> elements)
→ void
-
Adds all
elements
to this set.
inherited
-
any(bool test(E element))
→ bool
-
Checks whether any element of this iterable satisfies
test
.
inherited
-
cast<R>()
→ PersistentHashSet<R>
-
Provides a view of this set as a set of
R
instances.
override
-
clear()
→ void
-
Removes all elements from the set.
override
-
contains(Object? e$1)
→ bool
-
Whether
value
is in the set.
override
-
containsAll(Iterable<Object?> other)
→ bool
-
Whether this set contains all the elements of
other
.
inherited
-
difference(Set<Object?> that$3)
→ Set<E>
-
Creates a new set with the elements of this that are not in
other
.
override
-
elementAt(int index)
→ E
-
Returns the
index
th element.
inherited
-
every(bool f(E element))
→ bool
-
Checks whether every element of this iterable satisfies
test
.
inherited
-
expand<T>(Iterable<T> f(E element))
→ Iterable<T>
-
Expands each element of this Iterable into zero or more elements.
inherited
-
firstWhere(bool test(E value), {E orElse()?})
→ E
-
The first element that satisfies the given predicate
test
.
inherited
-
fold<T>(T initialValue, T combine(T previousValue, E element))
→ T
-
Reduces a collection to a single value by iteratively combining each
element of the collection with an existing value
inherited
-
followedBy(Iterable<E> other)
→ Iterable<E>
-
Creates the lazy concatenation of this iterable and
other
.
inherited
-
forEach(void f(E element))
→ void
-
Invokes
action
on each element of this iterable in iteration order.
inherited
-
intersection(Set<Object?> that$2)
→ Set<E>
-
Creates a new set which is the intersection between this set and
other
.
override
-
join([String separator = ""])
→ String
-
Converts each element to a String and concatenates the strings.
inherited
-
lastWhere(bool test(E value), {E orElse()?})
→ E
-
The last element that satisfies the given predicate
test
.
inherited
-
lookup(Object? e$2)
→ E?
-
If an object equal to
object
is in the set, return it.
override
-
map<T>(T f(E element))
→ Iterable<T>
-
The current elements of this iterable modified by
toElement
.
inherited
-
noSuchMethod(Invocation i)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
override
-
reduce(E combine(E value, E element))
→ E
-
Reduces a collection to a single value by iteratively combining elements
of the collection using the provided function.
inherited
-
remove(Object? e$4)
→ bool
-
Removes
value
from the set.
override
-
removeAll(Iterable<Object?> elements)
→ void
-
Removes each element of
elements
from this set.
inherited
-
removeWhere(bool test(E element))
→ void
-
Removes all elements of this set that satisfy
test
.
inherited
-
retainAll(Iterable<Object?> elements$1)
→ void
-
Removes all elements of this set that are not elements in
elements
.
override
-
retainWhere(bool test(E element))
→ void
-
Removes all elements of this set that fail to satisfy
test
.
inherited
-
singleWhere(bool test(E value), {E orElse()?})
→ E
-
The single element that satisfies
test
.
inherited
-
skip(int n)
→ Iterable<E>
-
Creates an Iterable that provides all but the first
count
elements.
inherited
-
skipWhile(bool test(E value))
→ Iterable<E>
-
Creates an
Iterable
that skips leading elements while test
is satisfied.
inherited
-
take(int n)
→ Iterable<E>
-
Creates a lazy iterable of the
count
first elements of this iterable.
inherited
-
takeWhile(bool test(E value))
→ Iterable<E>
-
Creates a lazy iterable of the leading elements satisfying
test
.
inherited
-
toList({bool growable = true})
→ List<E>
-
Creates a List containing the elements of this Iterable.
inherited
-
toSet()
→ Set<E>
-
Creates a Set with the same elements and behavior as this
Set
.
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
union(Set<E> that$1)
→ Set<E>
-
Creates a new set which contains all the elements of this set and
other
.
override
-
where(bool f(E element))
→ Iterable<E>
-
Creates a new lazy Iterable with all elements that satisfy the
predicate
test
.
inherited
-
whereType<T>()
→ Iterable<T>
-
Creates a new lazy Iterable with all elements that have type
T
.
inherited