public class MinMaxContext extends Object implements Context<MinMaxContext>
Modifier and Type | Field and Description |
---|---|
protected Numbers.MixedTypedNumber |
_max |
protected Numbers.MixedTypedNumber |
_min |
static ContextFactory<MinMaxContext> |
FACTORY |
Constructor and Description |
---|
MinMaxContext() |
protected Numbers.MixedTypedNumber _max
protected Numbers.MixedTypedNumber _min
public static final ContextFactory<MinMaxContext> FACTORY
public void add(Object item)
Context
add
in interface Context<MinMaxContext>
public void merge(MinMaxContext ctx)
Context
merge
in interface Context<MinMaxContext>
public Number getMax()
public Number getMin()
Copyright © 2017. All rights reserved.