public List<Node> listAvailableMutations(Node node){
  List<Node> result=new ArrayList<Node>();
  for (  Node mutation : availableNodes) {
    if (isMutationCompatible(node,mutation)) {
      result.add(mutation);
    }
  }
  return result;
}

public List < Node > listAvailableMutations ( Node node ) { List < Node > result = new ArrayList < Node > ( ) ; for ( Node mutation : availableNodes ) { if ( isMutationCompatible ( node , mutation ) ) { result . add ( mutation ) ; } } return result ; }
returns the list of all available mutations to the given node . this method ensures the mutation remains strongly - typed .
