public void Consider(T t) { if (!initialized || comp.better(t, bestSoFar)) { bestSoFar = t; } initialized = true; }