V - the value type@Deprecated public class JreJsSet<V> extends JsSet<V>
JsSet, should only be used for testing.| Constructor and Description |
|---|
JreJsSet()
Deprecated.
Creates a new empty JRE Set.
|
| Modifier and Type | Method and Description |
|---|---|
JsSet<V> |
add(V value)
Deprecated.
Adds a value to this set, overwriting any previous value if present.
|
void |
clear()
Deprecated.
Removes all values from this set.
|
boolean |
delete(V value)
Deprecated.
Removes the given value from the set.
|
void |
forEach(JsCollections.ForEachCallback<V> callback)
Deprecated.
Invokes the provided callback for each value in this set.
|
boolean |
has(V value)
Deprecated.
Checks whether this set contains the given value.
|
int |
size()
Deprecated.
Gets the number of values in this set.
|
public JsSet<V> add(V value)
JsSetpublic boolean has(V value)
JsSetpublic boolean delete(V value)
JsSetpublic void clear()
JsSetpublic void forEach(JsCollections.ForEachCallback<V> callback)
JsSetCopyright © 2000–2019 Vaadin Ltd. All rights reserved.