Class JreJsSet<V>
java.lang.Object
com.vaadin.client.flow.collection.JsSet<V>
com.vaadin.client.flow.collection.jre.JreJsSet<V>
- Type Parameters:
V- the value type
Deprecated.
Should only be used for testing.
JRE implementation of
JsSet, should only be used for testing.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Adds a value to this set, overwriting any previous value if present.voidclear()Deprecated.Removes all values from this set.booleanDeprecated.Removes the given value from the set.voidforEach(JsCollections.ForEachCallback<V> callback) Deprecated.Invokes the provided callback for each value in this set.booleanDeprecated.Checks whether this set contains the given value.intsize()Deprecated.Gets the number of values in this set.
-
Constructor Details
-
JreJsSet
public JreJsSet()Deprecated.Creates a new empty JRE Set.
-
-
Method Details
-
add
Deprecated.Description copied from class:JsSetAdds a value to this set, overwriting any previous value if present. -
has
Deprecated.Description copied from class:JsSetChecks whether this set contains the given value. -
delete
Deprecated.Description copied from class:JsSetRemoves the given value from the set. -
clear
public void clear()Deprecated.Description copied from class:JsSetRemoves all values from this set. -
forEach
Deprecated.Description copied from class:JsSetInvokes the provided callback for each value in this set. -
size
public int size()Deprecated.Description copied from class:JsSetGets the number of values in this set.
-