KtLinkedSet<T> class

Implemented types
Available Extensions

Constructors

KtLinkedSet.empty()
factory
KtLinkedSet.from([@nonNull Iterable<T> elements = const []])
factory
KtLinkedSet.of([T arg0, T arg1, T arg2, T arg3, T arg4, T arg5, T arg6, T arg7, T arg8, T arg9])
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
iter Iterable<T>
Access to a Iterable to be used in for-loops
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
set Set<T>
Deprecated, use asSet or iter for loops
@Deprecated("use asSet() or iter instead"), read-only, inherited
size int
Returns the size of the collection.
read-only, inherited

Methods

add(T element) bool
Adds the specified element to the collection. [...]
inherited
addAll(KtIterable<T> elements) bool
Adds all of the elements in the specified collection to this collection. [...]
inherited
asSet() Set<T>
Creates a Set instance that wraps the original KtSet. It acts as a view. [...]
inherited
clear() → void
Removes all elements from this collection.
inherited
contains(T element) bool
Checks if the specified element is contained in this collection.
inherited
containsAll(KtCollection<T> elements) bool
Checks if all elements in the specified collection are contained in this collection.
inherited
isEmpty() bool
Returns true if the collection is empty (contains no elements), false otherwise.
inherited
iterator() KtMutableIterator<T>
Returns an iterator over the elements of this object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove(T element) bool
Removes a single instance of the specified element from this collection, if it is present. [...]
inherited
removeAll(KtIterable<T> elements) bool
Removes all of this collection's elements that are also contained in the specified collection. [...]
inherited
retainAll(KtIterable<T> elements) bool
Retains only the elements in this collection that are contained in the specified collection. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited