class ShortList implements Serializable {

	public short removeRandom(MersenneTwisterFast random) {
		int randomIndex = random.nextInt(size);
		short temp = data[randomIndex];
		size--;
		data[randomIndex] = data[size];
		return temp;
	}

	public  ShortList(int capacity);

}