DC - Represented DescriptorComparator typeD - Bare form of suitable descriptor representationT - Unguarded form base type@Beta public interface ComparisonContextFactory<DC extends DescriptorComparator<D>,D extends Descriptor,T extends Serializable> extends Serializable, Guarded, MetricFactory<ComparisonContext<DC,D,T>>
An instance might be bounded to a specific DescriptorGenerator or to a specific GuardObject
because it might encapsulate descriptor parameter related state.
Note that method exposing a DescriptorComparator is not present in this interface intentionally.
Note that certain implementations might expose Serializable as the unguarded form type. This is the case when
the unguarded form depends on the underlying descriptor parameters (consider
FvParameters.getNumericRepresentation() as an example.)
Guarded.EnsureThat, Guarded.NewMetricFactory.ToLinenote<C>| Modifier and Type | Method and Description |
|---|---|
DescriptorSerializer<D> |
descriptorSerializer()
Associated descriptor serializer.
|
Class<? extends MetricFactory> |
metricFactoryClass()
Represented metric factory class.
|
getGuardObjectcomparisonLinenote, defaultComparisonClass<? extends MetricFactory> metricFactoryClass()
Description annotation.DescriptorSerializer<D> descriptorSerializer()