Exemplo n.º 1
0
  /** {@inheritDoc} */
  @Override
  protected String listingString0(boolean noteIndices) {
    int baseAddress = user.getAddress();
    StringBuffer sb = new StringBuffer(100);
    int sz = values.size();

    sb.append("fill-array-data-payload // for fill-array-data @ ");
    sb.append(Hex.u2(baseAddress));

    for (int i = 0; i < sz; i++) {
      sb.append("\n  ");
      sb.append(i);
      sb.append(": ");
      sb.append(values.get(i).toHuman());
    }

    return sb.toString();
  }
Exemplo n.º 2
0
  /** {@inheritDoc} */
  @Override
  protected String argString() {
    StringBuffer sb = new StringBuffer(100);

    int sz = values.size();
    for (int i = 0; i < sz; i++) {
      sb.append("\n    ");
      sb.append(i);
      sb.append(": ");
      sb.append(values.get(i).toHuman());
    }

    return sb.toString();
  }