Package nz.org.riskscape.oq.gmf
Class GmfDataBySiteIdList
A list of GmfData
objects that is backed by the hdf5 dataset. Traversing the list will
give you all the shaking data associated with a given site.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorDescriptionGmfDataBySiteIdList
(long siteid, long[][] indices, nz.org.riskscape.hdf5.H5Dataset gmfDataset) GmfDataBySiteIdList
(long siteId, long[] startIndices, long[] endIndices, nz.org.riskscape.hdf5.H5Dataset gmfDataset) GmfDataBySiteIdList
(long siteid, SitecolGmfDataIndex index, nz.org.riskscape.hdf5.H5Dataset gmfDataset) -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
GmfDataBySiteIdList
public GmfDataBySiteIdList(long siteId, long[] startIndices, long[] endIndices, nz.org.riskscape.hdf5.H5Dataset gmfDataset) -
GmfDataBySiteIdList
public GmfDataBySiteIdList(long siteid, long[][] indices, nz.org.riskscape.hdf5.H5Dataset gmfDataset) -
GmfDataBySiteIdList
public GmfDataBySiteIdList(long siteid, SitecolGmfDataIndex index, nz.org.riskscape.hdf5.H5Dataset gmfDataset)
-
-
Method Details
-
get
-
size
public int size()- Specified by:
size
in interfaceCollection<GmfData>
- Specified by:
size
in interfaceList<GmfData>
- Specified by:
size
in classAbstractCollection<GmfData>
-
toString
- Overrides:
toString
in classAbstractCollection<GmfData>
-
getSiteId
public long getSiteId()The site id we are accessing - mostly here for debugging output
-