Package net.postgis.jdbc.geometry.binary
Class ValueGetter.NDR
- java.lang.Object
-
- net.postgis.jdbc.geometry.binary.ValueGetter
-
- net.postgis.jdbc.geometry.binary.ValueGetter.NDR
-
- Enclosing class:
- ValueGetter
public static class ValueGetter.NDR extends ValueGetter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.postgis.jdbc.geometry.binary.ValueGetter
ValueGetter.NDR, ValueGetter.XDR
-
-
Field Summary
Fields Modifier and Type Field Description static byteNUMBER-
Fields inherited from class net.postgis.jdbc.geometry.binary.ValueGetter
endian
-
-
Constructor Summary
Constructors Constructor Description NDR(ByteGetter data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetInt(int index)Get a 32-Bit integerprotected longgetLong(int index)Get a long value.-
Methods inherited from class net.postgis.jdbc.geometry.binary.ValueGetter
getByte, getDouble, getInt, getLong
-
-
-
-
Field Detail
-
NUMBER
public static final byte NUMBER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NDR
public NDR(ByteGetter data)
-
-
Method Detail
-
getInt
protected int getInt(int index)
Description copied from class:ValueGetterGet a 32-Bit integer- Specified by:
getIntin classValueGetter- Parameters:
index- the index to get the value from- Returns:
- the int value
-
getLong
protected long getLong(int index)
Description copied from class:ValueGetterGet a long value. This is not needed directly, but as a nice side-effect from GetDouble.- Specified by:
getLongin classValueGetter- Parameters:
index- the index to get the value from- Returns:
- the long value
-
-