ObservableHashSet
scalafx.collections.ObservableSet implementation backed for a `HashSet` from Java Collection.
Value parameters
- delegate
-
JavaFX ObservableSet instance to be wrapped by this class. By default it is a HashSet wrapped by observableSet method from FXCollections.
Attributes
- Graph
-
- Supertypes
-
trait ObservableSet[T]trait Observableclass AbstractSet[T]trait Set[T]trait Shrinkable[T]trait Growable[T]trait Clearabletrait Cloneabletrait Iterable[T]class AbstractSet[T]trait Set[T]trait Equalsclass AbstractIterable[T]trait Iterable[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SetOps
Attributes
- Inherited from:
- Growable
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- Growable
Adds a single element to the set.
Adds a single element to the set.
Value parameters
- elem
-
the element to be added.
Attributes
- Returns
-
The
Set
itself - Inherited from:
- ObservableSet
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Removes all elements from the Set
. After this operation has completed, the Set
will be empty.
Removes all elements from the Set
. After this operation has completed, the Set
will be empty.
Attributes
- Definition Classes
- Inherited from:
- ObservableSet
Create a copy of the receiver object.
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SetOps
Tests if some element is contained in this Set
.
Tests if some element is contained in this Set
.
Value parameters
- elem
-
the element to test for membership.
Attributes
- Returns
-
true
ifelem
is contained in thisSet
,false
otherwise. - Inherited from:
- ObservableSet
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Generates a empty ObservableSet
.
Generates a empty ObservableSet
.
Attributes
- Returns
- Definition Classes
- Inherited from:
- ObservableSet
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Value parameters
- ref
-
Object to be compared.
Attributes
- Returns
-
if the other object is equals to this delegate or not.
- Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SetOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Returns
-
The delegate hashcode
- Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
- Inherited from:
- IterableOps
Creates a new iterator over elements of this set
Attributes
- Definition Classes
- Inherited from:
- SetOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- IterableOnceOps
Add a listener function to Set
's changes. This function '''will not handle''' this Set
's modifications data.
Add a listener function to Set
's changes. This function '''will not handle''' this Set
's modifications data.
Value parameters
- op
-
No-argument function to be activated when some change in this
ObservableSet
was made.
Attributes
- Inherited from:
- ObservableSet
Add a listener function to Set
's changes. This function '''will handle''' this map's modifications data.
Add a listener function to Set
's changes. This function '''will handle''' this map's modifications data.
Value parameters
- op
-
Function that will handle this
ObservableSet
's modifications data to be activated when some change was made.
Attributes
- Inherited from:
- ObservableSet
Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.
Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.
Value parameters
- op
-
A Function with no arguments. It will be called when value was invalidated.
Attributes
- Returns
-
A new scalafx.event.subscriptions.Subscription to remove JavaFX
InvalidationListener
. - Inherited from:
- Observable
Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener
.
Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener
.
Value parameters
- op
-
Function that receives a ScalaFX
Observable
. It will be called when value was invalidated.
Attributes
- Returns
-
A new scalafx.event.subscriptions.Subscription to remove JavaFX
InvalidationListener
. - Inherited from:
- Observable
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
The result when this set is used as a builder
The result when this set is used as a builder
Attributes
- Definition Classes
- Inherited from:
- ObservableSet
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- Cloneable
Attributes
- Returns
-
This
Set
's size. - Definition Classes
- Inherited from:
- ObservableSet
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- Builder
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnce
Attributes
- Inherited from:
- Shrinkable
Removes a single element from this mutable set.
Removes a single element from this mutable set.
Value parameters
- elem
-
the element to be removed.
Attributes
- Returns
-
The
Set
itself - Inherited from:
- ObservableSet
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Returns
-
Returns the original delegate's
toString()
adding a[SFX]
prefix. - Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version 2.13.0]
Use ++ with an explicit collection argument instead of + with varargs - Inherited from:
- SetOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Consider requiring an immutable Set or fall back to Set.union - Inherited from:
- SetOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use ++ instead of ++: for collections of type Iterable - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated - Inherited from:
- Growable
Attributes
- Deprecated
-
[Since version 2.13.0]
Use &- with an explicit collection argument instead of - with varargs - Inherited from:
- SetOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Consider requiring an immutable Set or fall back to Set.diff - Inherited from:
- SetOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Consider requiring an immutable Set - Inherited from:
- SetOps
Attributes
- Deprecated
-
[Since version 2.13.3]
Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated - Inherited from:
- Shrinkable
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldLeft instead of /: - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldRight instead of :\\ - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead. - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use iterableFactory instead - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `dest ++= coll` instead - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details) - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use coll instead of repr in a collection implementation, use the collection value itself from the outside - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use filterInPlace instead - Inherited from:
- SetOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Iterable.seq always returns the iterable itself - Inherited from:
- Iterable
Attributes
- Deprecated
-
[Since version 2.13.7]
toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections - Inherited from:
- Iterable
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .iterator instead of .toIterator - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections - Inherited from:
- IterableOps
Concrete fields
JavaFX object to be wrapped.
JavaFX object to be wrapped.
Attributes
Inherited fields
Attributes
- Inherited from:
- ObservableSet