All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.RowCollection.html Maven / Gradle / Ivy






RowCollection




com.aspose.cells
Class RowCollection

java.lang.Object
    extended by com.aspose.cells.RowCollection
All Implemented Interfaces:
java.lang.Iterable

public class RowCollection 
extends java.lang.Object

Collects the objects that represent the individual rows in a worksheet.
See Also:
Row


Property Getters/Setters Summary
intgetCount()
           Gets the number of rows in this collection.
Rowget(int)
           Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before.
 
Method Summary
voidclear()
           Clear all rows and cells.
RowgetRowByIndex(int index)
           Gets the row object by the position in the list.
java.util.Iteratoriterator()
           Gets an enumerator that iterates through this collection
voidremoveAt(int index)
           Remove the row at the specified index
 

Property Getters/Setters Detail

getCount

public int getCount()
Gets the number of rows in this collection.

get

public Row get(int rowIndex)
Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before.
See Also:
Row

Method Detail

iterator

public java.util.Iterator iterator()
Gets an enumerator that iterates through this collection
Returns:
enumerator

getRowByIndex

public Row getRowByIndex(int index)
Gets the row object by the position in the list.
Parameters:
index - The position.
Returns:
The Row object at given position.

clear

public void clear()
Clear all rows and cells.

removeAt

public void removeAt(int index)
Remove the row at the specified index
Parameters:
index - zero-based row index

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy