Package elemental2.core
Class JsSet<VALUE extends @Nullable Object>
java.lang.Object
elemental2.core.JsSet<VALUE>
- All Implemented Interfaces:
JsIterable<VALUE,@Nullable Object, @Nullable Object>
@JsType(isNative=true,
name="Set",
namespace="<global>")
public class JsSet<VALUE extends @Nullable Object>
extends Object
implements JsIterable<VALUE,@Nullable Object,@Nullable Object>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceJsSet.ConstructorIterableUnionType<VALUE extends @Nullable Object>static interfaceJsSet.ForEachCallbackFn<VALUE extends @Nullable Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanJsIteratorIterable<JsArray<VALUE>, @Nullable Object, @Nullable Object> entries()@Nullable ObjectforEach(JsSet.ForEachCallbackFn<? super VALUE> callback) forEach(JsSet.ForEachCallbackFn<? super VALUE> callback, THIS thisArg) booleanJsIteratorIterable<VALUE, @Nullable Object, @Nullable Object> keys()JsIteratorIterable<VALUE, @Nullable Object, @Nullable Object> values()
-
Field Details
-
size
public int size
-
-
Constructor Details
-
JsSet
public JsSet() -
JsSet
-
JsSet
-
JsSet
-
JsSet
-
-
Method Details
-
add
-
clear
public void clear() -
delete
-
entries
-
forEach
public <THIS extends @Nullable Object> @Nullable Object forEach(JsSet.ForEachCallbackFn<? super VALUE> callback, THIS thisArg) -
forEach
-
has
-
keys
-
values
-