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, wait
forEach, spliterator
public 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 © 2020 BouncyCastle.org. All rights reserved.