@Test public void testDoubleValues() { testDoubleValues(new ValueList(ValueList.toString(createFloatData(), ";"), ";")); }
public static String toString(List<?> data, String separator) { StringBuilder buffer; Iterator<?> values; buffer = new StringBuilder(); values = data.iterator(); if(values.hasNext()) buffer.append(values.next().toString()); while(values.hasNext()) { buffer.append(separator); buffer.append(values.next().toString()); } return buffer.toString(); }
ValueList extends ArrayList<String> { public static String toString(List<?> data, String separator) { StringBuilder buffer; Iterator<?> values; buffer = new StringBuilder(); values = data.iterator(); if(values.hasNext()) buffer.append(values.next().toString()); while(values.hasNext()) { buffer.append(separator); buffer.append(values.next().toString()); } return buffer.toString(); } }
ValueList extends ArrayList<String> { public static String toString(List<?> data, String separator) { StringBuilder buffer; Iterator<?> values; buffer = new StringBuilder(); values = data.iterator(); if(values.hasNext()) buffer.append(values.next().toString()); while(values.hasNext()) { buffer.append(separator); buffer.append(values.next().toString()); } return buffer.toString(); } ValueList(String data, String separator); }
ValueList extends ArrayList<String> { public static String toString(List<?> data, String separator) { StringBuilder buffer; Iterator<?> values; buffer = new StringBuilder(); values = data.iterator(); if(values.hasNext()) buffer.append(values.next().toString()); while(values.hasNext()) { buffer.append(separator); buffer.append(values.next().toString()); } return buffer.toString(); } ValueList(String data, String separator); String valueAt(int index); int integerValueAt(int index); float floatValueAt(int index); double doubleValueAt(int index); long longValueAt(int index); boolean booleanValueAt(int index); ValueList listValueAt(int index, String separator); ValueIterator valueIterator(); static String toString(List<?> data, String separator); }
ValueList extends ArrayList<String> { public static String toString(List<?> data, String separator) { StringBuilder buffer; Iterator<?> values; buffer = new StringBuilder(); values = data.iterator(); if(values.hasNext()) buffer.append(values.next().toString()); while(values.hasNext()) { buffer.append(separator); buffer.append(values.next().toString()); } return buffer.toString(); } ValueList(String data, String separator); String valueAt(int index); int integerValueAt(int index); float floatValueAt(int index); double doubleValueAt(int index); long longValueAt(int index); boolean booleanValueAt(int index); ValueList listValueAt(int index, String separator); ValueIterator valueIterator(); static String toString(List<?> data, String separator);  }