code: @Override
      public Object mapSequence(Object sequence) {
          List<List<Integer>> seq = (List<List<Integer>>) sequence;
          List<Integer> ret = new ArrayList<>();
          for (List<Integer> step : seq)
              ret.add((Integer) map(step));
          return ret;
      }
docs: Transform a sequence
  
  @param sequence