@Test public void isReadable() { SwiftObjectMemIo<String> objectMemIo = new SwiftObjectMemIo<String>(); assertFalse(objectMemIo.isReadable()); objectMemIo.put(0, "abc"); assertTrue(objectMemIo.isReadable()); }
@Override public boolean isReadable() { return mem != null && lastPos > -1; }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public boolean isReadable() { return mem != null && lastPos > -1; } }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public boolean isReadable() { return mem != null && lastPos > -1; } SwiftObjectMemIo();  SwiftObjectMemIo(int cap); }
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public boolean isReadable() { return mem != null && lastPos > -1; } 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 boolean isReadable() { return mem != null && lastPos > -1; } SwiftObjectMemIo();  SwiftObjectMemIo(int cap); @Override T get(long pos); @Override boolean isReadable(); @Override void put(long pos, T val); @Override void release();  }