### Question:
SwiftObjectMemIo extends BaseMemIo implements ObjectMemIo<T> { @Override public void put(long pos, T val) { ensureCapacity(pos); mem[(int) pos] = val; if (lastPos < pos) { lastPos = 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 put() { SwiftObjectMemIo<Integer> objectMemIo = new SwiftObjectMemIo<Integer>(); objectMemIo.put(0, 1); }