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