Package net.postgis.jdbc.geometry.binary
Class ByteGetter.StringByteGetter
- java.lang.Object
-
- net.postgis.jdbc.geometry.binary.ByteGetter
-
- net.postgis.jdbc.geometry.binary.ByteGetter.StringByteGetter
-
- Enclosing class:
- ByteGetter
public static class ByteGetter.StringByteGetter extends ByteGetter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.postgis.jdbc.geometry.binary.ByteGetter
ByteGetter.BinaryByteGetter, ByteGetter.StringByteGetter
-
-
Constructor Summary
Constructors Constructor Description StringByteGetter(String rep)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intget(int index)Get a byte.static byteunhex(char c)
-
-
-
Constructor Detail
-
StringByteGetter
public StringByteGetter(String rep)
-
-
Method Detail
-
get
public int get(int index)
Description copied from class:ByteGetterGet a byte.- Specified by:
getin classByteGetter- Parameters:
index- the index to get the value from- Returns:
- The result is returned as Int to eliminate sign problems when or'ing several values together.
-
unhex
public static byte unhex(char c)
-
-