}
  public int writeToAssetBuffer(int index, 				char [] assetStringBuffer) {    for (Iterator iter = assetsOnLeg.iterator(); iter.hasNext(); ) {      UID assetUID = (UID) iter.next();      String assetUIDString = assetUID.toString();      //      System.out.println ("asset uid "+ assetUIDString + " at " + (index + i)*maxStringLength);      System.arraycopy (assetUIDString.toCharArray(), 0, 			assetStringBuffer, (index++)*maxStringLength, 			assetUIDString.length());      //      System.out.println ("asset buf after "+ new String (assetStringBuffer));    }    return index;  }