private ServerSocketChannelIterator(Collection<SelectionKey> selectedKeys){
  iterator=selectedKeys.iterator();
}

private ServerSocketChannelIterator ( Collection < SelectionKey > selectedKeys ) { iterator = selectedKeys . iterator ( ) ; }
build a socketchannel iterator which will return a socketchannel instead of a selectionkey .
