Module io.github.bucket4j.core
Interface DeserializationAdapter<S>
-
- All Known Implementing Classes:
DataOutputSerializationAdapter
public interface DeserializationAdapter<S>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanreadBoolean(S source)bytereadByte(S source)double[]readDoubleArray(S source)intreadInt(S source)longreadLong(S source)long[]readLongArray(S source)StringreadString(S source)
-
-
-
Method Detail
-
readBoolean
boolean readBoolean(S source) throws IOException
- Throws:
IOException
-
readByte
byte readByte(S source) throws IOException
- Throws:
IOException
-
readInt
int readInt(S source) throws IOException
- Throws:
IOException
-
readLong
long readLong(S source) throws IOException
- Throws:
IOException
-
readLongArray
long[] readLongArray(S source) throws IOException
- Throws:
IOException
-
readDoubleArray
double[] readDoubleArray(S source) throws IOException
- Throws:
IOException
-
readString
String readString(S source) throws IOException
- Throws:
IOException
-
-