T - inherit number object. ex, int, Integer, double, Double,...public class NumberRange<T extends Number & Comparable<T>> extends ValidationCellProcessor implements LongCellProcessor, DoubleCellProcessor
validationMessagenext| コンストラクタと説明 |
|---|
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, setValidationMessagetoString, validateInputNotNullpublic 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 インタフェース内 CellProcessorpublic T getMin()
public T getMax()
public boolean isInclusive()
public TextPrinter<T> getPrinter()
Copyright © 2025 mygreen. All rights reserved.