Constructor and Description |
---|
CollectionStore(java.util.Collection<T> collection)
Basic constructor.
|
public CollectionStore(java.util.Collection<T> collection)
collection
- - initial contents for the store, this is copied.public java.util.Collection<T> getMatches(Selector<T> selector)
getMatches
in interface Store<T>
selector
- the selector to match against.