private boolean hasNextInetSocketAddress(){
  return nextInetSocketAddressIndex < inetSocketAddresses.size();
}

private boolean hasNextInetSocketAddress ( ) { return nextInetSocketAddressIndex < inetSocketAddresses . size ( ) ; }
returns true if there ' s another socket address to try .
