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 NamedCollection
s.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.06.27
-
Method Summary
Modifier and TypeMethodDescription<E> C
realize
(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realizes aNamedCollection
(possibly "ensuring it") based on the state of the builder, the providedParameterResolver
andMapBuilder
dependencies.<T extends NamedCollection>
booleanDetermines whether thisNamedCollectionBuilder
can realize aNamedCollection
of 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 providedParameterResolver
andMapBuilder
dependencies.The
MapBuilder
dependencies are required to satisfy the requirement when realizing aNamedCollection
additionally involves realizing one or more internalMap
s.- Type Parameters:
E
- the element type ofNamedCollection
- Parameters:
typeConstraint
- type constraint assertion for elements of thisNamedCollection
resolver
- the ParameterResolverdependencies
- theMapBuilder
dependencies- Returns:
- a
NamedCollection
-
realizes
Determines whether thisNamedCollectionBuilder
can realize aNamedCollection
of the specified type.- Type Parameters:
T
- the type of the class to verify- Parameters:
type
- theClass
of the type to verify- Returns:
- true if this builder can realize a
NamedCollection
of the specified type.
-