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