for (int i = 0; i < traces.length; i++) { TraceNode traceNode = traces[i].getHead();
while (it.hasNext()) { Trace trace = (Trace) it.next(); TraceNode traceNode = trace.getHead();
    public static Iterator traceNodeTraversal(Trace[] traces) {        LinkedList trav = new LinkedList();        for (int i = 0; i < traces.length; i++) {            TraceNode traceNode = traces[i].getHead();            while (traceNode != null) {                trav.add(traceNode);                traceNode = traceNode.getNext();            }        }        return trav.listIterator();    }