@Test public void cloneMap() { ExportMap<String> original = new ExportMap<>(1, INIT_MAP); ExportMap<String> copy = original.clone(); assertNotSame(original, copy); assertEquals(original, copy); }
@Override public synchronized ExportMap<T> clone() { return new ExportMap<>(this); }
ExportMap implements Cloneable { @Override public synchronized ExportMap<T> clone() { return new ExportMap<>(this); } }
ExportMap implements Cloneable { @Override public synchronized ExportMap<T> clone() { return new ExportMap<>(this); } ExportMap();  ExportMap(int nextSeq, Map<Integer, T> init); private  ExportMap(ExportMap<T> original); }
ExportMap implements Cloneable { @Override public synchronized ExportMap<T> clone() { return new ExportMap<>(this); } ExportMap();  ExportMap(int nextSeq, Map<Integer, T> init); private  ExportMap(ExportMap<T> original); synchronized int getOrCreate(T value); synchronized int getOffset(); synchronized boolean isEmpty(); synchronized ArrayList<T> invert(); synchronized void reset(); synchronized List<T> createMap(); @Override synchronized ExportMap<T> clone(); }
ExportMap implements Cloneable { @Override public synchronized ExportMap<T> clone() { return new ExportMap<>(this); } ExportMap();  ExportMap(int nextSeq, Map<Integer, T> init); private  ExportMap(ExportMap<T> original); synchronized int getOrCreate(T value); synchronized int getOffset(); synchronized boolean isEmpty(); synchronized ArrayList<T> invert(); synchronized void reset(); synchronized List<T> createMap(); @Override synchronized ExportMap<T> clone();  }