E
- public class NumberFilter<E> extends AbstractFilter<E,Number>
Modifier and Type | Class and Description |
---|---|
static class |
NumberFilter.Type |
Modifier and Type | Field and Description |
---|---|
protected NumberFilter.Type |
type |
protected Number |
value |
converter, enabled
Constructor and Description |
---|
NumberFilter(Converter<E,Number> converter,
Number value) |
NumberFilter(Converter<E,Number> converter,
NumberFilter.Type type,
Number value) |
Modifier and Type | Method and Description |
---|---|
NumberFilter.Type |
getType() |
Number |
getValue()
Accessor for the value
|
void |
setType(NumberFilter.Type type) |
void |
setValue(Number value) |
boolean |
test(E entity) |
getConverter, isEnabled, setConverter, setEnabled
protected NumberFilter.Type type
protected Number value
public NumberFilter(@NotNull Converter<E,Number> converter, @NotNull NumberFilter.Type type, Number value)
public Number getValue()
Filter
public void setValue(Number value)
public NumberFilter.Type getType()
public void setType(NumberFilter.Type type)
public boolean test(E entity)
Copyright © 2018 Xalys. All rights reserved.