private void resize(int capacity)
	{
		LinearProbingHashST<Key, Value> t = new LinearProbingHashST<Key, Value>(
				capacity);
		for (int i = 0; i < M; i++)
			if (keys[i] != null)
				t.put(keys[i], vals[i]);

		M = t.M;
		N = t.N;
		keys = t.keys;
		vals = t.vals;
	}