public class TimephasedDataCollection extends AbstractList<TimephasedData>
Represents a collection of TimephasedData
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(TimephasedData item)
Adds
TimephasedData instance to this collection object. |
void |
addRange(Iterable<TimephasedData> timephased)
Adds a collection of
TimephasedData instances to this collection object. |
void |
clear()
Removes all items from the
TimephasedDataCollection . |
boolean |
containsItem(TimephasedData item)
Determines whether the
TimephasedDataCollection contains a specific value. |
void |
copyToTArray(TimephasedData[] array,
int arrayIndex)
Copies the elements of the
TimephasedDataCollection to an T:System.Array ,
starting at a particular T:System.Array index. |
TimephasedData |
get(int index) |
void |
remove(TimephasedData td)
Removes
TimephasedData instance from this collection object. |
com.aspose.ms.System.Collections.Generic.IGenericList<TimephasedData> |
selectBetweenStartAndFinish(int timephasedDataType,
Date startTime,
Date finishTime)
Selects all timephases between
startTime and finishTime . |
int |
size()
Returns the number of objects contained in this
TimephasedDataCollection object. |
List<TimephasedData> |
toList()
Converts the TimephasedDataCollection object to a list of
TimephasedData objects. |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, 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 boolean add(TimephasedData item)
TimephasedData
instance to this collection object.add
in interface Collection<TimephasedData>
add
in interface List<TimephasedData>
add
in class AbstractList<TimephasedData>
item
- TimephasedData
instance to add.com.aspose.ms.System.ArgumentNullException
- is thrown if parameter value is null.public void addRange(Iterable<TimephasedData> timephased)
TimephasedData
instances to this collection object.timephased
- A collection of TimephasedData
objects to add.public void clear()
TimephasedDataCollection
.clear
in interface Collection<TimephasedData>
clear
in interface List<TimephasedData>
clear
in class AbstractList<TimephasedData>
public boolean containsItem(TimephasedData item)
TimephasedDataCollection
contains a specific value.item
- The object to locate in the collection.item
is found in the collection; otherwise, false.public void copyToTArray(TimephasedData[] array, int arrayIndex)
TimephasedDataCollection
to an T:System.Array
,
starting at a particular T:System.Array
index.array
- The one-dimensional T:System.Array
that is the destination of the elements copied from TimephasedDataCollection
.
The T:System.Array
must have zero-based indexing.arrayIndex
- The zero-based index in array
at which copying begins.public TimephasedData get(int index)
get
in interface List<TimephasedData>
get
in class AbstractList<TimephasedData>
index
- public void remove(TimephasedData td)
TimephasedData
instance from this collection object.td
- TimephasedData
instance to remove.public com.aspose.ms.System.Collections.Generic.IGenericList<TimephasedData> selectBetweenStartAndFinish(int timephasedDataType, Date startTime, Date finishTime)
startTime
and finishTime
. Has O(log n) complexity in average case.timephasedDataType
- Type of timephases to select.startTime
- Interval's start.finishTime
- Interval's finish.public int size()
TimephasedDataCollection
object.size
in interface Collection<TimephasedData>
size
in interface List<TimephasedData>
size
in class AbstractCollection<TimephasedData>
public List<TimephasedData> toList()
TimephasedData
objects.TimephasedData
objects.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.