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
TableField
objects. Implements IList<TableField> interface.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, TableField element)
boolean
add(TableField item)
boolean
addAll(int index, Collection<? extends TableField> c)
boolean
addAll(Collection<? extends TableField> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
TableField
get(int index)
Project
getParentProject()
Gets the parent of the TableFields object.int
indexOf(TableField item)
Returns index of the specified item in this collection.int
indexOf(Object o)
boolean
isEmpty()
Iterator<TableField>
iterator()
int
lastIndexOf(Object o)
ListIterator<TableField>
listIterator()
ListIterator<TableField>
listIterator(int index)
TableField
remove(int index)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
TableField
set(int index, TableField element)
int
size()
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:
add
in interfaceCollection<TableField>
- Specified by:
add
in interfaceList<TableField>
-
add
public final void add(int index, TableField element)
- Specified by:
add
in interfaceList<TableField>
-
addAll
public boolean addAll(Collection<? extends TableField> c)
- Specified by:
addAll
in interfaceCollection<TableField>
- Specified by:
addAll
in interfaceList<TableField>
-
addAll
public boolean addAll(int index, Collection<? extends TableField> c)
- Specified by:
addAll
in interfaceList<TableField>
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection<TableField>
- Specified by:
clear
in interfaceList<TableField>
-
contains
public boolean contains(Object o)
- Specified by:
contains
in interfaceCollection<TableField>
- Specified by:
contains
in interfaceList<TableField>
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interfaceCollection<TableField>
- Specified by:
containsAll
in interfaceList<TableField>
-
get
public TableField get(int index)
- Specified by:
get
in 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:
indexOf
in interfaceList<TableField>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceCollection<TableField>
- Specified by:
isEmpty
in interfaceList<TableField>
-
iterator
public Iterator<TableField> iterator()
- Specified by:
iterator
in interfaceCollection<TableField>
- Specified by:
iterator
in interfaceIterable<TableField>
- Specified by:
iterator
in interfaceList<TableField>
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interfaceList<TableField>
-
listIterator
public ListIterator<TableField> listIterator()
- Specified by:
listIterator
in interfaceList<TableField>
-
listIterator
public ListIterator<TableField> listIterator(int index)
- Specified by:
listIterator
in interfaceList<TableField>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<TableField>
- Specified by:
remove
in interfaceList<TableField>
-
remove
public TableField remove(int index)
- Specified by:
remove
in interfaceList<TableField>
-
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAll
in interfaceCollection<TableField>
- Specified by:
removeAll
in interfaceList<TableField>
-
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll
in interfaceCollection<TableField>
- Specified by:
retainAll
in interfaceList<TableField>
-
set
public TableField set(int index, TableField element)
- Specified by:
set
in interfaceList<TableField>
-
size
public int size()
- Specified by:
size
in interfaceCollection<TableField>
- Specified by:
size
in interfaceList<TableField>
-
subList
public List<TableField> subList(int fromIndex, int toIndex)
- Specified by:
subList
in interfaceList<TableField>
-
toArray
public Object[] toArray()
- Specified by:
toArray
in interfaceCollection<TableField>
- Specified by:
toArray
in interfaceList<TableField>
-
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interfaceCollection<TableField>
- Specified by:
toArray
in interfaceList<TableField>
-
-