public final class TableElementCollection<T1 extends ITableElement> extends Object implements Iterable<T1>
Represents a collection of elements absorbed from existing table
T
: Instance of type implementing ITableElement
Modifier and Type | Method and Description |
---|---|
void |
addItem(ITableElement element)
Adds the text fragment element at the specified index.
|
void |
clear()
Clears all items from the collection.
|
boolean |
containsItem(T1 item)
Determines whether the collection contains a specific value.
|
void |
copyToTArray(T1[] array,
int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified
index of the target array
|
T1 |
get_Item(int index)
Gets the text fragment element at the specified index.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
|
boolean |
isReadOnly()
Gets a value indicating whether collection is read-only
|
boolean |
isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
|
com.aspose.ms.System.Collections.IEnumerator |
iterator_Rename_Namesake()
Returns an enumerator for the entire collection.
|
com.aspose.ms.System.Collections.IEnumerator<T1> |
iterator()
Returns an enumerator for the entire collection.
|
boolean |
removeItem(T1 item)
Deletes specified item from collection.
|
int |
size()
Gets the number of table elements actually contained in the collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
Gets the number of table elements actually contained in the collection.
public Object getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
public boolean isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
public boolean isReadOnly()
Gets a value indicating whether collection is read-only
public void addItem(ITableElement element)
Adds the text fragment element at the specified index.
element
- ITableElement instancepublic com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
Returns an enumerator for the entire collection.
public com.aspose.ms.System.Collections.IEnumerator<T1> iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<T1 extends ITableElement>
public void copyToTArray(T1[] array, int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array
array
- Array of objects which will be copied.index
- Starting index from which copying will be started.public void clear()
Clears all items from the collection.
public boolean containsItem(T1 item)
Determines whether the collection contains a specific value.
item
- The object to locate in the collectionpublic boolean removeItem(T1 item)
Deletes specified item from collection.
item
- The object to deletepublic T1 get_Item(int index)
Gets the text fragment element at the specified index.
index
- Index within the collection.