Class ValueSetter
java.lang.Object
io.github.sebasbaumh.postgis.binary.ValueSetter
- Direct Known Subclasses:
BinaryValueSetter
,StringValueSetter
A base class for value setters.
- Author:
- Sebastian Baumhekel
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueSetter
public ValueSetter()Constructs an instance.
-
-
Method Details
-
setByte
public abstract void setByte(byte b) Sets a byte.- Parameters:
b
- byte value to set with
-
setDouble
public void setDouble(double data) Writes a double.- Parameters:
data
- double value to be set with
-
setInt
public void setInt(int value) Sets a 32-Bit integer- Parameters:
value
- int value to be set with
-
setLong
public void setLong(long value) Sets a long value. This is not needed directly, but as a nice side-effect from setDouble.- Parameters:
value
- value value to be set with
-