code: public Object getNextData()
      {
          if (m_iCurrentIndex >= m_vector.size())
              m_iCurrentIndex = -1;
          if (m_iCurrentIndex == -1)
              return DATA_EOF;  // EOF
          return m_vector.elementAt(m_iCurrentIndex++);
      }
docs: Get next next object from this buffer.
  @return The next data object.