Class SingleValuedProjectionAccumulator<F,​V>

  • Type Parameters:
    F - The type of (unconverted) field values.
    V - The type of field values after the projection converter was applied.
    All Implemented Interfaces:
    ProjectionAccumulator<F,​V,​F,​V>

    public final class SingleValuedProjectionAccumulator<F,​V>
    extends Object
    implements ProjectionAccumulator<F,​V,​F,​V>
    A ProjectionAccumulator that can accumulate up to one value, and will throw an exception beyond that.