Entry<Void> () { int key = iterator.nextInt(); return new Entry<Void>() { @Override public int getIntKey() { return key; } @Override public Void getValue() { return null; } @Override public Void setValue(Void value) { throw new UnsupportedOperationException(); } }; }