Package org.symphonyoss.s2.canon.runtime
Class EntitySet<T>
- java.lang.Object
-
- org.symphonyoss.s2.canon.runtime.BaseEntity
-
- org.symphonyoss.s2.canon.runtime.EntityArray
-
- org.symphonyoss.s2.canon.runtime.EntitySet<T>
-
- All Implemented Interfaces:
IBaseEntity,IEntityArray,IEntitySet<T>,org.symphonyoss.s2.common.dom.json.IJsonDomNodeProvider
public class EntitySet<T> extends EntityArray implements IEntitySet<T>
-
-
Constructor Summary
Constructors Constructor Description EntitySet(IEntitySet<T> other)EntitySet(org.symphonyoss.s2.common.dom.json.ImmutableJsonSet jsonSet, com.google.common.collect.ImmutableSet<T> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableSet<T>getElements()org.symphonyoss.s2.common.dom.json.ImmutableJsonSetgetJsonSet()intsize()-
Methods inherited from class org.symphonyoss.s2.canon.runtime.BaseEntity
equals, getJsonDomNode, hashCode, serialize, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.symphonyoss.s2.canon.runtime.IBaseEntity
getJsonDomNode, serialize
-
-
-
-
Constructor Detail
-
EntitySet
public EntitySet(IEntitySet<T> other)
-
EntitySet
public EntitySet(org.symphonyoss.s2.common.dom.json.ImmutableJsonSet jsonSet, com.google.common.collect.ImmutableSet<T> elements)
-
-
Method Detail
-
getJsonSet
public org.symphonyoss.s2.common.dom.json.ImmutableJsonSet getJsonSet()
- Specified by:
getJsonSetin interfaceIEntitySet<T>
-
getElements
public com.google.common.collect.ImmutableSet<T> getElements()
- Specified by:
getElementsin interfaceIEntitySet<T>
-
size
public int size()
- Specified by:
sizein interfaceIEntityArray
-
-