code: @Override
      protected void _from(ObjectInput in) throws IOException,
              ClassNotFoundException {
          // XXX this can be improved
          final int size = in.readInt();
          for (int i = 0; i < size; i++) {
              final int termIndex = in.readInt();
              final int parametersSize = in.readInt();
              List<Integer> parameters = new ArrayList<Integer>(parametersSize);
              for (int j = 0; j < parametersSize; j++) {
                  parameters.add(in.readInt());
              }
              addTermParameterMapping(termIndex, parameters);
          }
      }
docs: {@inheritDoc}