|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceCollection
Instance collection interface
Field Summary | |
---|---|
static int |
UNKNOWN_SIZE
Constant for unknown collection size |
Method Summary | |
---|---|
boolean |
hasSize()
States if the collection has a known size. |
boolean |
isEmpty()
States if the collection has no instances. |
ResourceIterator<Instance> |
iterator()
Get an iterator over all instances contained in the collection. |
InstanceCollection |
select(Filter filter)
Select the instances in the collection, matching the given filter. |
int |
size()
Get the collection size if known. |
Methods inherited from interface eu.esdihumboldt.hale.common.instance.model.InstanceResolver |
---|
getInstance, getReference |
Field Detail |
---|
static final int UNKNOWN_SIZE
Method Detail |
---|
ResourceIterator<Instance> iterator()
ResourceIterator.close()
).
boolean hasSize()
int size()
UNKNOWN_SIZE
hasSize()
boolean isEmpty()
hasSize()
returns false.
InstanceCollection select(Filter filter)
filter
- the instance filter
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |