P - the type of objects in the collectionpublic interface PartCollection<P> extends Iterable<P>
getInterface().
This is the content of a field wearing the Parts annotation.
| Modifier and Type | Method and Description |
|---|---|
Class<P> |
getInterface()
Returns the class which is used to fetch parts from the
GlobalContext |
Collection<P> |
getParts()
Returns all parts currently registered for the given class.
|
forEach, iterator, spliterator@Nonnull Class<P> getInterface()
GlobalContext@Nonnull Collection<P> getParts()
GlobalContext which were registered for the given class. If no parts are found,
and empty collection is returned.Copyright © 2018. All rights reserved.