icegem-cache-utils/src/main/java/com/googlecode/icegem/cacheutils/monitor/controller/model/NodesContainer.java
public Set<Node> find(String host) {
		Set<Node> resultSet = new HashSet<Node>();

		if (host != null) {
			for (Node node : socketToNodeMap.values()) {
				if (host.equals(node.getHost())) {
					resultSet.add(node);
				}
			}
		}

		return resultSet;
	}
public Set<Node> find(String host) {
		Set<Node> resultSet = new HashSet<Node>();

		if (host != null) {
			for (Node node : socketToNodeMap.values()) {
				if (host.equals(node.getHost())) {
					resultSet.add(node);
				}
			}
		}

		return resultSet;
	}
public Set < Node > find ( String host ) { Set < Node > resultSet = new HashSet < Node > ( ) ; if ( host != null ) { for ( Node node : socketToNodeMap . values ( ) ) { if ( host . equals ( node . getHost ( ) ) ) { resultSet . add ( node ) ; } } } return resultSet ; }
Finds the set of nodes by host.

@param host
- the host.
@return - the found nodes.
Finds the set of nodes by host .