Skip to content

IterTres20Java

anna-dodd edited this page Jun 3, 2015 · 1 revision

Iterating Tagged Record Extension (2.0)


for (Iterator<FieldPair> it = tre.iterator(); it.hasNext();)
{
    FieldPair pair = (FieldPair) it.next();
    System.out.println("Field name: " + pair.getName());
    System.out.println("Field value: " + pair.getField().toString());
}