|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javaseis.grid.SeisDataType
public class SeisDataType
Title: SeisDataType
Description: Data type for seismic arrays
Copyright: Copyright (c) 2005
Company: JavaSeis.org
Field Summary | |
---|---|
static int |
BYTE
|
static int |
DOUBLE
|
static int |
FLOAT
|
static int |
INT
|
static int |
LONG
|
static int |
OBJECT
|
static int |
SHORT
|
static int |
UNKNOWN
|
Constructor Summary | |
---|---|
SeisDataType(int type)
Construct a new data type with an element count of 1 |
|
SeisDataType(int type,
int count)
Construct a new array data type |
|
SeisDataType(java.lang.Object object)
Construct a new data type with an element count of 1 |
|
SeisDataType(java.lang.Object object,
int count)
Construct a new data type with an element count of 1 |
Method Summary | |
---|---|
SeisDataType |
clone()
Return a copy of this data type |
int |
getCount()
Return number of elements that make up this sample |
int |
getLength()
Return length in bytes of data sample |
java.lang.Class |
getObjectClass()
Return a the class type of the objects stored in this data type |
int |
getType()
Return data sample type |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BYTE
public static final int DOUBLE
public static final int FLOAT
public static final int INT
public static final int LONG
public static final int OBJECT
public static final int SHORT
public static final int UNKNOWN
Constructor Detail |
---|
public SeisDataType(int type)
type
- must match one of the constant types for this classpublic SeisDataType(int type, int count)
type
- must match one of the primitive typescount
- number of elements that make up each "sample"public SeisDataType(java.lang.Object object)
type
- must match one of the constant types for this classpublic SeisDataType(java.lang.Object object, int count)
type
- must match one of the constant types for this classMethod Detail |
---|
public SeisDataType clone()
clone
in class java.lang.Object
public int getCount()
public int getLength()
public java.lang.Class getObjectClass()
public int getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |