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
ConstructorsConstructorDescriptionGmfDataBySiteIdList(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, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
sizein interfaceCollection<GmfData>- Specified by:
sizein interfaceList<GmfData>- Specified by:
sizein classAbstractCollection<GmfData>
-
toString
- Overrides:
toStringin classAbstractCollection<GmfData>
-
getSiteId
public long getSiteId()The site id we are accessing - mostly here for debugging output
-