append (text, null);
char c = iterator.first(); Vector more_ranges = new Vector(); Vector more_attributes = new Vector();  do { formattedString = formattedString + String.valueOf (c);  more_attributes.add (iterator.getAttributes()); more_ranges.add (new Integer (formattedString.length()));  c = iterator.next(); } while (c != DONE);  HashMap[] new_attributes = new HashMap[attributes.length + more_attributes.size()]; int[] new_ranges = new int[ranges.length + more_ranges.size()];  System.arraycopy (attributes, 0, new_attributes, 0, attributes.length); System.arraycopy (more_attributes.toArray(), 0, new_attributes, attributes.length, more_attributes.size());  System.arraycopy (ranges, 0, new_ranges, 0, ranges.length); Object[] new_ranges_array = more_ranges.toArray(); for (int i = 0; i < more_ranges.size();i++) new_ranges[i+ranges.length] = ((Integer) new_ranges_array[i]).intValue();  attributes = new_attributes; ranges = new_ranges;
  public void append (String text)  {    append (text, null);  }  