}
}
public void expandContext(SampleContext dpc, Integer[] samples) throws NoSuchContextException, NoSuchSampleException {
if (dpc == this)
throw new NoSuchContextException("Can't expand self");
if (!(dpc instanceof Impl_SampleContext))
throw new NoSuchContextException("Destination context is not compatible");
Impl_SampleContext real_dpc = (Impl_SampleContext) dpc;
removeFromContext(samples);
real_dpc.addToContext(samples);
}