public static <A> List<A> getFirst(int count, Iterable<A> col) {
		LinkedList<A> ret = new LinkedList<A>();
		int i = 0;
		for (A a : col) {
			if (++i > count) {
				break;
			}
			ret.add(a);
		}
		return ret;
	}