StringCriteria implements Serializable, HasIsConstrained, Clearable, Copyable<StringCriteria> { public static List<StringCriteria> convertStringList(List<String> strings) { List<StringCriteria> criteriaList = new ArrayList<>(); if (strings != null) { for (String string : strings) { criteriaList.add(new StringCriteria(string)); } } return criteriaList; } StringCriteria();  StringCriteria(final String string);  StringCriteria(final String string, final MatchStyle matchStyle); @JsonCreator  StringCriteria(@JsonProperty("string") final String string,
                          @JsonProperty("stringUpper") final String stringUpper,
                          @JsonProperty("matchStyle") final MatchStyle matchStyle,
                          @JsonProperty("caseInsensitive") final boolean caseInsensitive,
                          @JsonProperty("matchNull") final Boolean matchNull); static List<StringCriteria> convertStringList(List<String> strings); @Override void clear(); String getString(); void setString(final String string); MatchStyle getMatchStyle(); void setMatchStyle(final MatchStyle matchStyle); @Override @JsonIgnore boolean isConstrained(); boolean isMatch(String test); @JsonIgnore String getMatchString(); boolean isCaseInsensitive(); void setCaseInsensitive(final boolean caseInsensitive); Boolean getMatchNull(); void setMatchNull(final Boolean matchNull); @Override void copyFrom(final StringCriteria other); @Override String toString(); @Override int hashCode(); @Override boolean equals(final Object o);  }
@Test void testConvertStringList() { List<String> strings = new ArrayList<>(); strings.add("abcdef"); strings.add("ABCDEF"); List<StringCriteria> criteriaList = StringCriteria.convertStringList(strings); for (int i = 0; i < strings.size(); i++) { assertThat(criteriaList.get(i).toString()).isEqualTo(strings.get(i).toString()); } }