Interface NamedCollectionBuilder<C extends NamedCollection>
- All Known Subinterfaces:
NamedTopicScheme,TopicScheme<C,S>
- All Known Implementing Classes:
PagedTopicScheme
public interface NamedCollectionBuilder<C extends NamedCollection>
A
NamedCollectionBuilder realizes NamedCollections.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.06.27
-
Method Summary
Modifier and TypeMethodDescription<E> Crealize(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realizes aNamedCollection(possibly "ensuring it") based on the state of the builder, the providedParameterResolverandMapBuilderdependencies.<T extends NamedCollection>
booleanDetermines whether thisNamedCollectionBuildercan realize aNamedCollectionof the specified type.
-
Method Details
-
realize
<E> C realize(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realizes aNamedCollection(possibly "ensuring it") based on the state of the builder, the providedParameterResolverandMapBuilderdependencies.The
MapBuilderdependencies are required to satisfy the requirement when realizing aNamedCollectionadditionally involves realizing one or more internalMaps.- Type Parameters:
E- the element type ofNamedCollection- Parameters:
typeConstraint- type constraint assertion for elements of thisNamedCollectionresolver- the ParameterResolverdependencies- theMapBuilderdependencies- Returns:
- a
NamedCollection
-
realizes
Determines whether thisNamedCollectionBuildercan realize aNamedCollectionof the specified type.- Type Parameters:
T- the type of the class to verify- Parameters:
type- theClassof the type to verify- Returns:
- true if this builder can realize a
NamedCollectionof the specified type.
-