public static <A,K> Collection<A> retrieveNexts(
			LinkedList<A> col,
			F1<A, K> f) {
		LinkedList<A> ret = new LinkedList<A>();
		A first = col.removeFirst();
		ret.add(first);
		for (;col.size() > 0;) {
			A attempt = col.getFirst();
			if (ObjectUtil.equals(f.e(attempt), f.e(first))) {
				col.removeFirst();
				ret.add(attempt);
			} else {
				break;
			}
		}
		return ret;
	}