T
- inherit number object. ex, int, Integer, double, Double,...public class NumberRange<T extends Number & Comparable<T>> extends ValidationCellProcessor implements LongCellProcessor, DoubleCellProcessor
validationMessage
next
コンストラクタと説明 |
---|
NumberRange(T min,
T max,
boolean inclusive,
TextPrinter<T> printer) |
NumberRange(T min,
T max,
boolean inclusive,
TextPrinter<T> printer,
CellProcessor next) |
修飾子とタイプ | メソッドと説明 |
---|---|
Object |
execute(Object value,
CsvContext context) |
T |
getMax() |
T |
getMin() |
TextPrinter<T> |
getPrinter() |
boolean |
isInclusive()
値を比較する際に指定した値を含むかどうか。
|
createValidationException, getDefaultValidationMessage, getValidationMessage, setValidationMessage
toString, validateInputNotNull
public NumberRange(T min, T max, boolean inclusive, TextPrinter<T> printer)
public NumberRange(T min, T max, boolean inclusive, TextPrinter<T> printer, CellProcessor next)
public Object execute(Object value, CsvContext context)
execute
インタフェース内 CellProcessor
public T getMin()
public T getMax()
public boolean isInclusive()
public TextPrinter<T> getPrinter()
Copyright © 2022 mygreen. All rights reserved.