typeID.length());
typeLen);
  public int writeToManifestBuffers(int index, 				    char [] nomenStringBuffer,				    char [] typeIDStringBuffer,				    double [] weightDoubleBuffer) {    Iterator iter2 = typeIdentifications.iterator();    Iterator iter3 = weights.iterator();    for (Iterator iter = nomenclatures.iterator(); iter.hasNext(); ) {      String nomen  = (String) iter.next();      String typeID = (String) iter2.next ();      Mass weight   = (Mass)   iter3.next ();      System.arraycopy (nomen.toCharArray(), 0, 			nomenStringBuffer, (index)*maxStringLength, 			nomen.length());      System.arraycopy (typeID.toCharArray(), 0, 			typeIDStringBuffer, (index)*maxStringLength, 			typeID.length());      weightDoubleBuffer[index++] = weight.getKilograms ();    }    return index;  }