@Test public void release() { SwiftObjectMemIo<Integer> objectMemIo = new SwiftObjectMemIo<Integer>(1); objectMemIo.release(); try { objectMemIo.get(0); fail(); } catch (Exception ignore) { } }
@Override public void release() { mem = null; }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public void release() { mem = null; } }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public void release() { mem = null; } SwiftObjectMemIo();  SwiftObjectMemIo(int cap); }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public void release() { mem = null; } SwiftObjectMemIo();  SwiftObjectMemIo(int cap); @Override T get(long pos); @Override boolean isReadable(); @Override void put(long pos, T val); @Override void release(); }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public void release() { mem = null; } SwiftObjectMemIo();  SwiftObjectMemIo(int cap); @Override T get(long pos); @Override boolean isReadable(); @Override void put(long pos, T val); @Override void release();  }