@Override
	public boolean equals(Object x) {
		if (!(x instanceof Tuple))
			return false;

		Tuple t = (Tuple) x;

		if (t.size != size)
			return false;

		for (int i = 0; i < size; i++) {
			if (!items[i].equals(t.getItem(i)))
				return false;
		}

		return true;
	}