public SampleObject[] getSampleRW(SampleContext sc, Integer readSample, Integer writeSample) throws NoSuchSampleException, SampleEmptyException, NoSuchContextException {
if (!assertContext(sc))
throw new NoSuchContextException();
if (readSample == null || writeSample == null)
throw new NoSuchSampleException(IntPool.get(Integer.MIN_VALUE));
SampleObject[] sobjs = new SampleObject[2];
if (readSample.intValue() < writeSample.intValue()) {
sobjs[0] = getSampleRead(sc, readSample);