public class AvailabilityPeriodCollection extends AbstractList<AvailabilityPeriod>
Represents a collection which contains AvailabilityPeriod
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(AvailabilityPeriod item) |
void |
clear() |
boolean |
contains(AvailabilityPeriod item)
Returns true if the specified item is found in this collection; otherwise, false.
|
void |
copyTo(AvailabilityPeriod[] array,
int arrayIndex)
Copies the elements of this collection to the specified array, starting at the specified array index.
|
AvailabilityPeriod |
get(int index) |
Resource |
getParentResource()
Returns parent
Resource for this object. |
Iterator<AvailabilityPeriod> |
iterator() |
AvailabilityPeriod |
remove(int index) |
AvailabilityPeriod |
set(int index,
AvailabilityPeriod item) |
int |
size() |
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public Resource getParentResource()
Returns parent Resource
for this object.
Resource
object for this collection.public boolean add(AvailabilityPeriod item)
add
in interface Collection<AvailabilityPeriod>
add
in interface List<AvailabilityPeriod>
add
in class AbstractList<AvailabilityPeriod>
public void clear()
clear
in interface Collection<AvailabilityPeriod>
clear
in interface List<AvailabilityPeriod>
clear
in class AbstractList<AvailabilityPeriod>
public boolean contains(AvailabilityPeriod item)
Returns true if the specified item is found in this collection; otherwise, false.
item
- the specified item to find.public void copyTo(AvailabilityPeriod[] 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 AvailabilityPeriod get(int index)
get
in interface List<AvailabilityPeriod>
get
in class AbstractList<AvailabilityPeriod>
public Iterator<AvailabilityPeriod> iterator()
iterator
in interface Iterable<AvailabilityPeriod>
iterator
in interface Collection<AvailabilityPeriod>
iterator
in interface List<AvailabilityPeriod>
iterator
in class AbstractList<AvailabilityPeriod>
public AvailabilityPeriod remove(int index)
remove
in interface List<AvailabilityPeriod>
remove
in class AbstractList<AvailabilityPeriod>
public AvailabilityPeriod set(int index, AvailabilityPeriod item)
set
in interface List<AvailabilityPeriod>
set
in class AbstractList<AvailabilityPeriod>
public int size()
size
in interface Collection<AvailabilityPeriod>
size
in interface List<AvailabilityPeriod>
size
in class AbstractCollection<AvailabilityPeriod>
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.