|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.nshmp.sha.io.DataRecord
public abstract class DataRecord
Title: DataRecord
Description: Creates the record type.
| Field Summary | |
|---|---|
protected float |
latitude
|
protected float |
longitude
|
protected short |
numValues
|
protected int |
recordNumber
|
protected float[] |
values
|
| Constructor Summary | |
|---|---|
DataRecord()
|
|
| Method Summary | |
|---|---|
float |
getLatitude()
Returns the Latitude of the record |
float |
getLongitude()
Returns the Longitude of the record |
short |
getNumPeriods()
Returns the number of periods |
float[] |
getPeriods()
Returns the Periods |
abstract void |
getRecord(String fileName,
long recordNum)
Reads the Record |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int recordNumber
protected float latitude
protected float longitude
protected short numValues
protected float[] values
| Constructor Detail |
|---|
public DataRecord()
| Method Detail |
|---|
public abstract void getRecord(String fileName,
long recordNum)
fileName - StringrecordNum - longpublic float getLatitude()
public float getLongitude()
public short getNumPeriods()
public float[] getPeriods()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||