public class CollectionStore<T> extends Object implements Store<T>, Iterable<T>
| Constructor and Description |
|---|
CollectionStore(Collection<T> collection)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
getMatches(Selector<T> selector)
Return the matches in the collection for the passed in selector.
|
Iterator<T> |
iterator()
Returns an iterator over a set of elements of type T.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CollectionStore(Collection<T> collection)
collection - - initial contents for the store, this is copied.public Collection<T> getMatches(Selector<T> selector)
getMatches in interface Store<T>selector - the selector to match against.Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.