Interface NamedCollectionBuilder<C extends NamedCollection>
-
- All Known Subinterfaces:
NamedTopicScheme
,TopicScheme<C,S>
- All Known Implementing Classes:
PagedTopicScheme
public interface NamedCollectionBuilder<C extends NamedCollection>
ANamedCollectionBuilder
realizesNamedCollection
s.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.06.27
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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>
booleanrealizes(Class<T> type)
Determines whether thisNamedCollectionBuilder
can realize aNamedCollection
of the specified type.
-
-
-
Method Detail
-
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
<T extends NamedCollection> boolean realizes(Class<T> type)
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.
-
-