public final class JSONManyAssociationState extends Object implements ManyAssociationState
Backed by a JsonArray.
Modifier and Type | Method and Description |
---|---|
boolean |
add(int idx,
EntityReference entityReference) |
boolean |
clear() |
boolean |
contains(EntityReference entityReference) |
int |
count() |
EntityReference |
get(int i) |
Iterator<EntityReference> |
iterator() |
boolean |
remove(EntityReference entityReference) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
stream
forEach, spliterator
public int count()
count
in interface ManyAssociationState
public boolean contains(EntityReference entityReference)
contains
in interface ManyAssociationState
public boolean add(int idx, EntityReference entityReference)
add
in interface ManyAssociationState
public boolean remove(EntityReference entityReference)
remove
in interface ManyAssociationState
public boolean clear()
clear
in interface ManyAssociationState
public EntityReference get(int i)
get
in interface ManyAssociationState
public Iterator<EntityReference> iterator()
iterator
in interface Iterable<EntityReference>