public class CollectionStore extends Object implements Store
Constructor and Description |
---|
CollectionStore(Collection collection)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getMatches(Selector selector)
Return the matches in the collection for the passed in selector.
|
public CollectionStore(Collection collection)
collection
- - initial contents for the store, this is copied.public Collection getMatches(Selector selector)
getMatches
in interface Store
selector
- the selector to match against.Copyright © 2015. All rights reserved.