Package org.symphonyoss.s2.canon.runtime
Class EntityList<T>
- java.lang.Object
-
- org.symphonyoss.s2.canon.runtime.BaseEntity
-
- org.symphonyoss.s2.canon.runtime.EntityArray
-
- org.symphonyoss.s2.canon.runtime.EntityList<T>
-
- All Implemented Interfaces:
IBaseEntity,IEntityArray,IEntityList<T>,org.symphonyoss.s2.common.dom.json.IJsonDomNodeProvider
public class EntityList<T> extends EntityArray implements IEntityList<T>
-
-
Constructor Summary
Constructors Constructor Description EntityList(IEntityList<T> other)EntityList(org.symphonyoss.s2.common.dom.json.ImmutableJsonList jsonList, com.google.common.collect.ImmutableList<T> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<T>getElements()org.symphonyoss.s2.common.dom.json.ImmutableJsonListgetJsonList()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
-
EntityList
public EntityList(IEntityList<T> other)
-
EntityList
public EntityList(org.symphonyoss.s2.common.dom.json.ImmutableJsonList jsonList, com.google.common.collect.ImmutableList<T> elements)
-
-
Method Detail
-
getJsonList
public org.symphonyoss.s2.common.dom.json.ImmutableJsonList getJsonList()
- Specified by:
getJsonListin interfaceIEntityList<T>
-
getElements
public com.google.common.collect.ImmutableList<T> getElements()
- Specified by:
getElementsin interfaceIEntityList<T>
-
size
public int size()
- Specified by:
sizein interfaceIEntityArray
-
-