public class ExtendedAttributeCollection extends AbstractList<T>
Represents a collection of ExtendedAttribute
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(ExtendedAttribute item)
Adds the specified item to this collection.
|
void |
clear()
Removes all items from this collection.
|
boolean |
contains(ExtendedAttribute item)
Returns true if the specified item is found in this collection; otherwise, false.
|
void |
copyTo(ExtendedAttribute[] array,
int arrayIndex)
Copies the elements of this collection to the specified array, starting at the specified array index.
|
ExtendedAttribute |
get(int index)
Returns the element at the specified position in this collection.
|
void |
insert(int index,
ExtendedAttribute item)
Inserts the specified item at the specified index.
|
Iterator<ExtendedAttribute> |
iterator()
Returns an iterator over elements from this collection.
|
ExtendedAttribute |
remove(int index)
Removes the element at the specified position in this collection and returns the element that was removed from the collection.
|
boolean |
remove(Object o)
Removes the element from the collection.
|
ExtendedAttribute |
set(int index,
ExtendedAttribute value)
Replaces the element at the specified position in this list with the specified element.
|
int |
size()
Returns the number of elements in this collection.
|
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean add(ExtendedAttribute item)
add
in interface Collection<ExtendedAttribute>
add
in interface List<ExtendedAttribute>
add
in class AbstractList<ExtendedAttribute>
item
- the specified item to add to the collection.public final void clear()
Removes all items from this collection.
clear
in interface Collection<ExtendedAttribute>
clear
in interface List<ExtendedAttribute>
clear
in class AbstractList<ExtendedAttribute>
public final boolean contains(ExtendedAttribute item)
Returns true if the specified item is found in this collection; otherwise, false.
item
- the specified item to find.public final void copyTo(ExtendedAttribute[] array, int arrayIndex)
Copies the elements of this collection to the specified array, starting at the specified array index.
array
- the specified one-dimensional array to copy elements toarrayIndex
- the zero-based index of the specified array at which copying begins.public ExtendedAttribute get(int index)
get
in interface List<ExtendedAttribute>
get
in class AbstractList<ExtendedAttribute>
index
- specified position to getInternal element at.public final void insert(int index, ExtendedAttribute item)
Inserts the specified item at the specified index.
index
- the specified zero-based index at which the item should be inserted.item
- the specified item to insert to this collection.public Iterator<ExtendedAttribute> iterator()
iterator
in interface Iterable<ExtendedAttribute>
iterator
in interface Collection<ExtendedAttribute>
iterator
in interface List<ExtendedAttribute>
iterator
in class AbstractList<ExtendedAttribute>
public ExtendedAttribute remove(int index)
remove
in interface List<ExtendedAttribute>
remove
in class AbstractList<ExtendedAttribute>
index
- the specified position to remove the element at.public boolean remove(Object o)
remove
in interface Collection<ExtendedAttribute>
remove
in interface List<ExtendedAttribute>
remove
in class AbstractCollection<ExtendedAttribute>
o
- the element to remove.public ExtendedAttribute set(int index, ExtendedAttribute value)
set
in interface List<ExtendedAttribute>
set
in class AbstractList<ExtendedAttribute>
index
- the specified position to replace element at.value
- the specified element to replace the element at the specified position.public final int size()
size
in interface Collection<ExtendedAttribute>
size
in interface List<ExtendedAttribute>
size
in class AbstractCollection<ExtendedAttribute>
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.