|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.postgis.binary.ValueGetter
public abstract class ValueGetter
| Nested Class Summary | |
|---|---|
static class |
ValueGetter.NDR
|
static class |
ValueGetter.XDR
|
| Field Summary | |
|---|---|
byte |
endian
|
| Constructor Summary | |
|---|---|
ValueGetter(ByteGetter data,
byte endian)
|
|
| Method Summary | |
|---|---|
byte |
getByte()
Get a byte, should be equal for all endians |
double |
getDouble()
Get a double. |
int |
getInt()
|
protected abstract int |
getInt(int index)
Get a 32-Bit integer |
long |
getLong()
|
protected abstract long |
getLong(int index)
Get a long value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final byte endian
| Constructor Detail |
|---|
public ValueGetter(ByteGetter data,
byte endian)
| Method Detail |
|---|
public byte getByte()
public int getInt()
public long getLong()
protected abstract int getInt(int index)
protected abstract long getLong(int index)
public double getDouble()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||