public List getNextElements(int count)
      throws IteratorException {
    int i = 0;
    Object object = null;
    LinkedList list = new LinkedList();
    if (listIterator != null) {
      while (listIterator.hasNext() && (i < count)) {
        object = listIterator.next();
        list.add(object);
        i++;
      }
    } // end if
    else {
      throw new IteratorException(); // No data
    }
    return list;
  }