### Question:
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public T get(long pos) { checkPosition(pos); return (T) mem[(int) pos]; } SwiftObjectMemIo();  SwiftObjectMemIo(int cap); @Override T get(long pos); @Override boolean isReadable(); @Override void put(long pos, T val); @Override void release();  }### Answer:
@Test public void get() { SwiftObjectMemIo<String> objectMemIo = new SwiftObjectMemIo<String>(); objectMemIo.put(0, "abc"); assertEquals("abc", objectMemIo.get(0)); }