Package adams.data.indexedsplits
Class IndexedSplitsRuns
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<IndexedSplitsRun>
-
- adams.data.indexedsplits.IndexedSplitsRuns
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<IndexedSplitsRun>
,Collection<IndexedSplitsRun>
,List<IndexedSplitsRun>
,RandomAccess
public class IndexedSplitsRuns extends ArrayList<IndexedSplitsRun>
Combines multiple IndexedSplitRun objects.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MetaData
m_MetaData
the meta-data.-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description IndexedSplitsRuns()
Constructs an empty list with an initial capacity of ten.IndexedSplitsRuns(Collection<IndexedSplitsRun> c)
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaData
getMetaData()
Returns the underlying meta-data.protected void
initialize()
Initializes the members.-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Field Detail
-
m_MetaData
protected MetaData m_MetaData
the meta-data.
-
-
Constructor Detail
-
IndexedSplitsRuns
public IndexedSplitsRuns()
Constructs an empty list with an initial capacity of ten.
-
IndexedSplitsRuns
public IndexedSplitsRuns(Collection<IndexedSplitsRun> c)
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.- Parameters:
c
- the collection whose elements are to be placed into this list- Throws:
NullPointerException
- if the specified collection is null
-
-
Method Detail
-
initialize
protected void initialize()
Initializes the members.
-
getMetaData
public MetaData getMetaData()
Returns the underlying meta-data.- Returns:
- the meta-data
-
-