public interface IndexedEntityCollection extends EntityCollection
Modifier and Type | Method and Description |
---|---|
Entity |
getChild(int index)
Get the child at the specified index.
|
boolean |
isSizable()
Learn whether the size of this object can be set.
|
void |
setSize(int size)
Set new size of this object.
|
int |
size()
Get the size (# of child elements) of this IndexedEntityCollection.
|
getChildren
int size()
Entity getChild(int index)
index
- intboolean isSizable()
void setSize(int size) throws IllegalStateException
size
- to setIllegalStateException
- if isSizable()
== false
Copyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.