JavaFX ObservableSet instance to be wrapped by this class. By default it is a HashSet wrapped by observableSet method from FXCollections.
(Changed in version 2.8.0) +
creates a new set. Use +=
to add an element to this set and return that set itself.
(Changed in version 2.8.0) +
creates a new set. Use +=
to add an element to this set and return that set itself.
(Changed in version 2.8.0) ++
creates a new set. Use ++=
to add elements to this set and return that set itself.
Adds a single element to the set.
Adds a single element to the set.
the element to be added.
The Set
itself
(Changed in version 2.8.0) -
creates a new set. Use -=
to remove an element from this set and return that set itself.
(Changed in version 2.8.0) -
creates a new set. Use -=
to remove an element from this set and return that set itself.
(Changed in version 2.8.0) --
creates a new set. Use --=
to remove elements from this set and return that set itself.
Removes a single element from this mutable set.
Removes a single element from this mutable set.
the element to be removed.
The Set
itself
Removes all elements from the Set
.
Removes all elements from the Set
. After this operation has completed, the Set
will be empty.
The factory companion object that builds instances of class ObservableSet
.
The factory companion object that builds instances of class ObservableSet
.
Tests if some element is contained in this Set
.
Tests if some element is contained in this Set
.
the element to test for membership.
true
if elem
is contained in this Set
, false
otherwise.
JavaFX ObservableSet instance to be wrapped by this class.
JavaFX ObservableSet instance to be wrapped by this class. By default it is a HashSet wrapped by observableSet method from FXCollections.
Generates a empty ObservableSet
.
Generates a empty ObservableSet
.
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Object to be compared.
if the other object is equals to this delegate or not.
The delegate hashcode
Creates a new iterator over elements of this set
Creates a new iterator over elements of this set
(Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.
Add a listener function to Set
's changes.
Add a listener function to Set
's changes. This function will not handle this Set
's modifications data.
No-argument function to be activated when some change in this ObservableSet
was made.
Add a listener function to Set
's changes.
Add a listener function to Set
's changes. This function will handle this map's modifications data.
Function that will handle this ObservableSet
's modifications data to be activated when some change was made.
Adds a no argument function as a JavaFX InvalidationListener
.
Adds a no argument function as a JavaFX InvalidationListener
. This function has no arguments because it will not handle
invalidated values.
A Function with no arguments. It will be called when value was invalidated.
A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener
.
Adds a function as a JavaFX InvalidationListener
.
Adds a function as a JavaFX InvalidationListener
. This function has all arguments from
invalidated
method from InvalidationListener
.
Function that receives a ScalaFX Observable
. It will be called when value was invalidated.
A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener
.
The result when this set is used as a builder
The result when this set is used as a builder
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
This Set
's size.
Returns the original delegate's toString()
adding a [SFX]
prefix.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Since version 2.11.0) Scripting is deprecated.
scalafx.collections.ObservableSet implementation backed for a
HashSet
from Java Collection.