/** @return Copy of this instance. */ public synchronized Bar copy() { Bar res = new Bar(symbol); res.open = open; res.high = high; res.low = low; res.close = close; return res; }