public final class GSet<A> extends java.lang.Object implements ReplicatedData, ReplicatedDataSerialization, scala.Product, scala.Serializable
Constructor and Description |
---|
GSet(scala.collection.immutable.Set<A> elements) |
Modifier and Type | Method and Description |
---|---|
GSet<A> |
add(A element)
Adds an element to the set
|
static GSet<java.lang.Object> |
apply() |
boolean |
contains(A a) |
static <A> GSet<A> |
create()
Java API
|
scala.collection.immutable.Set<A> |
elements() |
static <A> GSet<A> |
empty() |
java.util.Set<A> |
getElements()
Java API
|
boolean |
isEmpty() |
GSet<A> |
merge(GSet<A> that) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
merge
public GSet(scala.collection.immutable.Set<A> elements)
public static <A> GSet<A> empty()
public static GSet<java.lang.Object> apply()
public static <A> GSet<A> create()
public scala.collection.immutable.Set<A> elements()
public java.util.Set<A> getElements()
public boolean contains(A a)
public boolean isEmpty()
public int size()
public GSet<A> add(A element)
element
- (undocumented)