Package org.bouncycastle.util
Class CollectionStore
- java.lang.Object
-
- org.bouncycastle.util.CollectionStore
-
-
Constructor Summary
Constructors Constructor Description CollectionStore(java.util.Collection collection)
Basic constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getMatches
public java.util.Collection getMatches(Selector selector)
Return the matches in the collection for the passed in selector.- Specified by:
getMatches
in interfaceStore
- Parameters:
selector
- the selector to match against.- Returns:
- a possibly empty collection of matching objects.
-
-