public List<ProvisionedMeshNode> getNodes(final NetworkKey networkKey) {
        final List<ProvisionedMeshNode> nodes = new ArrayList<>();
        for (ProvisionedMeshNode node : this.nodes) {
            for (NodeKey nodeKey : node.getAddedNetKeys()) {
                if (nodeKey.getIndex() == networkKey.getKeyIndex()) {
                    nodes.add(node);
                }
            }
        }
        return nodes;
    }
Returns the list of {@link ProvisionedMeshNode} containing the given network key

@param networkKey Network Key
mesh/src/main/java/no/nordicsemi/android/mesh/BaseMeshNetwork.java