docs: public static Iterator iterator(final ListModel self) {
          return new Iterator() {
              private int index = 0;
  
              public boolean hasNext() {
                  return index < self.getSize();
              }
  
              public Object next() {
                  return self.getElementAt(index++);
              }
  
              public void remove() {
                  throw new UnsupportedOperationException("LisModel is immutable.");
              }
          };
      }