public <T> void iCurrentAndCount(T s) { if (!flag) return; lock.lock(); co = co.NextColor(); a.getAndIncrement(); jFrame.setDocs("\n<" + a + ">" + s, co.color, null, null, null); lock.unlock(); }
public <T> void iList(Collection list) { if (!flag) return; LogB.getInstance(); String s = Arrays.toString(list.toArray()); s = s.replaceAll("\\(", "\\(\n"); co = co.NextColor(); jFrame.setDocs("\n" + getTraceInfo() + s, co.color, null, null, null); }
public <T> void iCurrentAndCountT(T s) { if (!flag) return; lock.lock(); co = co.NextColor(); a.getAndIncrement(); long time = System.currentTimeMillis(); String dt = sdf.format(new Date(time)); jFrame.setDocs("\n<" + a + ">" + dt + "-=-" + s, co.color, null, null, null); lock.unlock(); }
public <T> void i(T s) { LogB.getInstance(); co = co.NextColor(); jFrame.setDocs("\n" + s, co.color, null, null, null); }
public <T> void s(T s) { if (!flag) return; LogB.getInstance(); co = co.NextColor(); jFrame.setDocs("\n" + getTraceInfo() + s, co.color, null, null, null); }