/** toString returns current value. */ public void testToString() { AtomicLong ai = new AtomicLong(); for (long i = -12; i < 6; ++i) { ai.set(i); assertEquals(ai.toString(), Long.toString(i)); } }
public void printUsage() { System.out.printf("Full hits: %s\nEmpty hits: %s\n", fullHits.toString(), emptyHits.toString()); }
@Override public String toString() { return demand.toString(); }