Class Rows

    • Constructor Detail

      • Rows

        public Rows()
    • Method Detail

      • enumerateRow

        public Enumeration<Row> enumerateRow()
        Method enumerateRow.
        Returns:
        an Enumeration over all possible elements of this collection
      • getRow

        public Row[] getRow()
        Method getRow.Returns the contents of the collection in an Array.

        Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

        Returns:
        this collection as an Array
      • getRowCollection

        public List<Row> getRowCollection()
        Method getRowCollection.Returns a reference to 'rowList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getRowCount

        public int getRowCount()
        Method getRowCount.
        Returns:
        the size of this collection
      • iterateRow

        public Iterator<Row> iterateRow()
        Method iterateRow.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllRow

        public void removeAllRow()
      • removeRow

        public boolean removeRow​(Row vRow)
        Method removeRow.
        Parameters:
        vRow -
        Returns:
        true if the object was removed from the collection.
      • removeRowAt

        public Row removeRowAt​(int index)
        Method removeRowAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setRow

        public void setRow​(Row[] vRowArray)
        Parameters:
        vRowArray -
      • setRow

        public void setRow​(List<Row> vRowList)
        Sets the value of 'rowList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vRowList - the Vector to copy.
      • setRowCollection

        public void setRowCollection​(List<Row> rowList)
        Deprecated.
        Sets the value of 'rowList' by setting it to the given Vector. No type checking is performed.
        Parameters:
        rowList - the Vector to set.