|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ObsEqkRupture>
org.opensha.sha.earthquake.observedEarthquake.ObsEqkRupList
public class ObsEqkRupList
Title: ObsEqkRupList
Description: This class provide capabilty of storing observed events as a list. Also defines the function using which user can extract a subset of the list based on Magnitude range, origin time or geographic Region. It also defines functions that allows user to Sort the list based on Mag, Origin Time.
| Field Summary | |
|---|---|
protected static String |
C
Class name used for debugging purposes |
protected static boolean |
D
if true print out debugging statements |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ObsEqkRupList()
|
|
| Method Summary | |
|---|---|
ObsEqkRupList |
getRupsAboveMag(double mag)
Returns the list of the Observed events above/at the given magnitude. |
ObsEqkRupList |
getRupsAfter(long timeInMillis)
Returns the list of Observed events after a given time in milliseconds (epoch) |
ObsEqkRupList |
getRupsBefore(long timeInMillis)
Returns the list of Observed events before a given time in milliseconds (epoch) |
ObsEqkRupList |
getRupsBelowMag(double mag)
Returns the list of the Observed events below the given magnitude. |
ObsEqkRupList |
getRupsBetween(long timeInMillis1,
long timeInMillis2)
Returns the list of the Observed events between 2 given time periods. |
ObsEqkRupList |
getRupsBetweenMag(double mag1,
double mag2)
Returns the list of the Observed events between 2 given magnitudes. |
ObsEqkRupList |
getRupsInside(Region region)
Returns the list of the Observed events inside a given geographic region |
ObsEqkRupList |
getRupsOutside(Region region)
Returns the list of the Observed events outside a given geographic region |
void |
sortByMag()
Sorts the Observed Eqk Rupture Event list based on the magitude. |
void |
sortByOriginTime()
Sorts the Observed Eqk Rupture Event list based on the Origin time. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
protected static final String C
protected static final boolean D
| Constructor Detail |
|---|
public ObsEqkRupList()
| Method Detail |
|---|
public ObsEqkRupList getRupsAboveMag(double mag)
mag - double Magnitude
public ObsEqkRupList getRupsBelowMag(double mag)
mag - double Magnitude
public ObsEqkRupList getRupsBetweenMag(double mag1,
double mag2)
mag1 - double lower magnitudemag2 - double upper magnitude
public ObsEqkRupList getRupsBefore(long timeInMillis)
timeInMillis - - what returned by GregorianCalendar.getTimeInMillis()
public ObsEqkRupList getRupsAfter(long timeInMillis)
timeInMillis - - what returned by GregorianCalendar.getTimeInMillis()
public ObsEqkRupList getRupsBetween(long timeInMillis1,
long timeInMillis2)
cal1 - GregorianCalendar Time Periodcal2 - GregorianCalendar Time Period
public ObsEqkRupList getRupsInside(Region region)
region - Region
public ObsEqkRupList getRupsOutside(Region region)
region - Region
public void sortByMag()
public void sortByOriginTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||