public Node nodeBy ( final NetworkAddress hostname ) { if ( hostname == null ) { return null ; } for ( Node node : nodes ) { if ( node . hostname ( ) . equals ( hostname ) ) { return node ; } } return null ; }
Returns the node by its hostname .