private final Codec bCodec;
private long last;
public RunCodec(int k, Codec aCodec, Codec bCodec) throws Pack200Exception {
if (k <= 0)
throw new Pack200Exception(
"Cannot have a RunCodec for a negative number of numbers");
if (aCodec == null || bCodec == null)
throw new Pack200Exception("Must supply both codecs for a RunCodec");
this.k = k;
this.aCodec = aCodec;
this.bCodec = bCodec;
}