class ShortSet implements Serializable {

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		final ShortSet that = (ShortSet) obj;
		if (that.data.length != data.length) {
			// If we have different universes, we're not equal.
			return false;
		}
		if (that.size != size) {
			return false;
		}
		for (int i = 0; i < size; i++) {
			if (!that.contains(data[i])) {
				return false;
			}
		}
		return true;
	}

	public  ShortSet(int capacity);

}