Constructor and Description |
---|
CollectionStore(java.util.Collection collection)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getMatches(Selector selector)
Return the matches in the collection for the passed in selector.
|
java.util.Iterator |
iterator()
Support method for Iterable where available.
|
public CollectionStore(java.util.Collection collection)
collection
- - initial contents for the store, this is copied.public java.util.Collection getMatches(Selector selector)
getMatches
in interface Store
selector
- the selector to match against.