class PeekIterator implements Iterator<T> {

	@Override
	public boolean hasNext() {
		if (nextitem != null) {
			return true;
		}

		if (iterator.hasNext()) {
			nextitem = iterator.next();
		}

		return nextitem != null;
	}

	public  PeekIterator(Iterator<T> iterator);

}