public List<NetworkAddressMessage> getNodes(long[] streams) {
		List<Map<NetworkAddressMessage, NetworkAddressMessage>> nodeLists = new ArrayList<>();
		int size = 0;

		for (long stream : streams) {
			Map<NetworkAddressMessage, NetworkAddressMessage> s = knownNodes.get(stream);

			if (s != null) {
				nodeLists.add(s);
				size += s.size();
			}
		}

		List<NetworkAddressMessage> l = new ArrayList<>(size);

		for (Map<NetworkAddressMessage, NetworkAddressMessage> s : nodeLists) {
			l.addAll(s.values());
		}

		return l;
	}