public static Iterator traceNodeTraversal(Trace[] traces) {
public static Iterator traceNodeTraversal(List traces) {
    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();    }