Package org.reflections
Class Store
- java.lang.Object
-
- org.reflections.Store
-
public class Store extends Object
stores metadata information in multimapsuse the different query methods (getXXX) to query the metadata
the query methods are string based, and does not cause the class loader to define the types
use
Reflections.getStore()to access this store
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>get(Class<?> scannerClass, String key)get the values stored for the givenindexandkeysSet<String>get(Class<?> scannerClass, Collection<String> keys)get the values stored for the givenindexandkeysSet<String>get(String index, String key)get the values stored for the givenindexandkeysSet<String>getAll(Class<?> scannerClass, String key)recursively get the values stored for the givenindexandkeys, not including keysSet<String>getAll(Class<?> scannerClass, Collection<String> keys)recursively get the values stored for the givenindexandkeys, not including keysSet<String>getAllIncluding(Class<?> scannerClass, Collection<String> keys)recursively get the values stored for the givenindexandkeys, including keysSet<String>keys(String index)Set<String>keySet()return all indicesbooleanput(Class<?> scannerClass, String key, String value)booleanput(String index, String key, String value)Set<String>values(String index)
-
-
-
Method Detail
-
get
public Set<String> get(Class<?> scannerClass, String key)
get the values stored for the givenindexandkeys
-
get
public Set<String> get(String index, String key)
get the values stored for the givenindexandkeys
-
get
public Set<String> get(Class<?> scannerClass, Collection<String> keys)
get the values stored for the givenindexandkeys
-
getAllIncluding
public Set<String> getAllIncluding(Class<?> scannerClass, Collection<String> keys)
recursively get the values stored for the givenindexandkeys, including keys
-
getAll
public Set<String> getAll(Class<?> scannerClass, String key)
recursively get the values stored for the givenindexandkeys, not including keys
-
getAll
public Set<String> getAll(Class<?> scannerClass, Collection<String> keys)
recursively get the values stored for the givenindexandkeys, not including keys
-
-