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