/super-csv/src/main/java/org/supercsv/cellprocessor/constraint/Strlen.java
private Set<Integer> requiredLengths = new HashSet<Integer>( ) ;
private final Set<Integer> requiredLengths = new HashSet<Integer> ( ) ;
import org.supercsv.cellprocessor.ift.CellProcessor; import org.supercsv.cellprocessor.ift.StringCellProcessor; import org.supercsv.exception.SuperCsvCellProcessorException; import org.supercsv.exception.SuperCsvConstraintViolationException; import org.supercsv.util.CsvContext; public class Strlen extends CellProcessorAdaptor implements StringCellProcessor { <extra_id_0> public Strlen(final int... requiredLengths) { super(); checkPreconditions(requiredLengths); checkAndAddLengths(requiredLengths); } public Strlen(final int requiredLength, final CellProcessor next) {