Package com.aspose.tasks
Class TableFieldCollection
- java.lang.Object
-
- com.aspose.tasks.TableFieldCollection
-
- All Implemented Interfaces:
Iterable<TableField>,Collection<TableField>,List<TableField>
public class TableFieldCollection extends Object implements List<TableField>
Contains a list of
TableFieldobjects. Implements IList<TableField> interface.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, TableField element)booleanadd(TableField item)booleanaddAll(int index, Collection<? extends TableField> c)booleanaddAll(Collection<? extends TableField> c)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)TableFieldget(int index)ProjectgetParentProject()Gets the parent of the TableFields object.intindexOf(TableField item)Returns index of the specified item in this collection.intindexOf(Object o)booleanisEmpty()Iterator<TableField>iterator()intlastIndexOf(Object o)ListIterator<TableField>listIterator()ListIterator<TableField>listIterator(int index)TableFieldremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)TableFieldset(int index, TableField element)intsize()List<TableField>subList(int fromIndex, int toIndex)Object[]toArray()<T> T[]toArray(T[] a)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
add
public boolean add(TableField item)
- Specified by:
addin interfaceCollection<TableField>- Specified by:
addin interfaceList<TableField>
-
add
public final void add(int index, TableField element)- Specified by:
addin interfaceList<TableField>
-
addAll
public boolean addAll(Collection<? extends TableField> c)
- Specified by:
addAllin interfaceCollection<TableField>- Specified by:
addAllin interfaceList<TableField>
-
addAll
public boolean addAll(int index, Collection<? extends TableField> c)- Specified by:
addAllin interfaceList<TableField>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<TableField>- Specified by:
clearin interfaceList<TableField>
-
contains
public boolean contains(Object o)
- Specified by:
containsin interfaceCollection<TableField>- Specified by:
containsin interfaceList<TableField>
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<TableField>- Specified by:
containsAllin interfaceList<TableField>
-
get
public TableField get(int index)
- Specified by:
getin interfaceList<TableField>
-
getParentProject
public Project getParentProject()
Gets the parent of the TableFields object. Read-only
Project.- Returns:
- parent project.
-
indexOf
public int indexOf(TableField item)
Returns index of the specified item in this collection.- Parameters:
item- the specified item.- Returns:
- index of the item.
-
indexOf
public int indexOf(Object o)
- Specified by:
indexOfin interfaceList<TableField>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<TableField>- Specified by:
isEmptyin interfaceList<TableField>
-
iterator
public Iterator<TableField> iterator()
- Specified by:
iteratorin interfaceCollection<TableField>- Specified by:
iteratorin interfaceIterable<TableField>- Specified by:
iteratorin interfaceList<TableField>
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<TableField>
-
listIterator
public ListIterator<TableField> listIterator()
- Specified by:
listIteratorin interfaceList<TableField>
-
listIterator
public ListIterator<TableField> listIterator(int index)
- Specified by:
listIteratorin interfaceList<TableField>
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<TableField>- Specified by:
removein interfaceList<TableField>
-
remove
public TableField remove(int index)
- Specified by:
removein interfaceList<TableField>
-
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAllin interfaceCollection<TableField>- Specified by:
removeAllin interfaceList<TableField>
-
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAllin interfaceCollection<TableField>- Specified by:
retainAllin interfaceList<TableField>
-
set
public TableField set(int index, TableField element)
- Specified by:
setin interfaceList<TableField>
-
size
public int size()
- Specified by:
sizein interfaceCollection<TableField>- Specified by:
sizein interfaceList<TableField>
-
subList
public List<TableField> subList(int fromIndex, int toIndex)
- Specified by:
subListin interfaceList<TableField>
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceCollection<TableField>- Specified by:
toArrayin interfaceList<TableField>
-
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArrayin interfaceCollection<TableField>- Specified by:
toArrayin interfaceList<TableField>
-
-