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 public class JreJsSet<V> extends JsSet<V>
Deprecated.Should only be used for testing.JRE implementation ofJsSet, should only be used for testing.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description JreJsSet()Deprecated.Creates a new empty JRE Set.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description JsSet<V>add(V value)Deprecated.Adds a value to this set, overwriting any previous value if present.voidclear()Deprecated.Removes all values from this set.booleandelete(V value)Deprecated.Removes the given value from the set.voidforEach(JsCollections.ForEachCallback<V> callback)Deprecated.Invokes the provided callback for each value in this set.booleanhas(V value)Deprecated.Checks whether this set contains the given value.intsize()Deprecated.Gets the number of values in this set.
-
-
-
Method Detail
-
add
public JsSet<V> add(V value)
Deprecated.Description copied from class:JsSetAdds a value to this set, overwriting any previous value if present.
-
has
public boolean has(V value)
Deprecated.Description copied from class:JsSetChecks whether this set contains the given value.
-
delete
public boolean delete(V value)
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
public void forEach(JsCollections.ForEachCallback<V> callback)
Deprecated.Description copied from class:JsSetInvokes the provided callback for each value in this set.
-
-