1 package org.incava.qualog; 2 3 import java.io.*; 4 import java.util.*; 5 6 7 10 public class QlIterator 11 { 12 public static boolean stack(QlLevel level, 13 ANSIColor[] msgColors, 14 String name, 15 Iterator it, 16 ANSIColor fileColor, 17 ANSIColor classColor, 18 ANSIColor methodColor, 19 int numFrames) 20 { 21 Collection ary = new ArrayList(); 22 while (it.hasNext()) { 23 ary.add(it.next()); 24 } 25 26 return QlCollection.stack(level, msgColors, name, ary, fileColor, classColor, methodColor, numFrames); 27 } 28 } 29 30 | Popular Tags |