@Test void test7231_5_3_2_example2() { QuotedQualityCSV values = new QuotedQualityCSV(); values.addValue("text/plain; q=0.5, text/html,"); values.addValue("text/x-dvi; q=0.8, text/x-c"); assertContains(values.getValues(), "text/html", "text/x-c", "text/x-dvi", "text/plain"); }
public List<String> getValues() { if (!sorted) { sort(); } return values; }
QuotedQualityCSV extends QuotedCSV implements Iterable<String> { public List<String> getValues() { if (!sorted) { sort(); } return values; } }
QuotedQualityCSV extends QuotedCSV implements Iterable<String> { public List<String> getValues() { if (!sorted) { sort(); } return values; } QuotedQualityCSV();  QuotedQualityCSV(String[] preferredOrder);  QuotedQualityCSV(Function<String, Integer> secondaryOrdering); }
QuotedQualityCSV extends QuotedCSV implements Iterable<String> { public List<String> getValues() { if (!sorted) { sort(); } return values; } QuotedQualityCSV();  QuotedQualityCSV(String[] preferredOrder);  QuotedQualityCSV(Function<String, Integer> secondaryOrdering); List<String> getValues(); @Override Iterator<String> iterator(); }
QuotedQualityCSV extends QuotedCSV implements Iterable<String> { public List<String> getValues() { if (!sorted) { sort(); } return values; } QuotedQualityCSV();  QuotedQualityCSV(String[] preferredOrder);  QuotedQualityCSV(Function<String, Integer> secondaryOrdering); List<String> getValues(); @Override Iterator<String> iterator(); static Function<String, Integer> MOST_SPECIFIC; }