Class AbstractApplicableRegistry<I,O extends IApplicable<I>>
- java.lang.Object
-
- net.anwiba.commons.lang.collection.AbstractObjectCollection<T>
-
- net.anwiba.commons.lang.collection.ObjectCollection<O>
-
- net.anwiba.commons.utilities.registry.AbstractApplicableRegistry<I,O>
-
- All Implemented Interfaces:
java.lang.Iterable<O>,IMutableObjectCollection<O>,IObjectCollection<O>,IObjectCollectionReceiver<O>,IObjectIterable<O>,IApplicableRegistry<I,O>
- Direct Known Subclasses:
AbstractApplicableFactoryRegistry
public class AbstractApplicableRegistry<I,O extends IApplicable<I>> extends ObjectCollection<O> implements IApplicableRegistry<I,O>
-
-
Constructor Summary
Constructors Constructor Description AbstractApplicableRegistry(O defaultApplicable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Oget(I context)booleanisApplicable(I context)-
Methods inherited from class net.anwiba.commons.lang.collection.AbstractObjectCollection
add, add, isEmpty, iterator, remove, remove, removeAll, set, set, size, stream, toCollection, toList, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.utilities.registry.IApplicableRegistry
add
-
Methods inherited from interface net.anwiba.commons.lang.collection.IObjectIterable
foreach
-
-
-
-
Constructor Detail
-
AbstractApplicableRegistry
public AbstractApplicableRegistry(O defaultApplicable)
-
-
Method Detail
-
isApplicable
public boolean isApplicable(I context)
-
get
public O get(I context)
- Specified by:
getin interfaceIApplicableRegistry<I,O extends IApplicable<I>>
-
-