We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f9432 commit 0b5683fCopy full SHA for 0b5683f
1 file changed
src/main/java/eu/antidotedb/client/IntegerKey.java
@@ -5,7 +5,7 @@
5
6
import javax.annotation.CheckReturnValue;
7
8
-public class IntegerKey extends Key {
+public class IntegerKey extends Key<Long> {
9
IntegerKey(ByteString key) {
10
super(AntidotePB.CRDT_type.INTEGER, key);
11
}
@@ -40,7 +40,7 @@ public UpdateOp assign(long inc) {
40
41
42
@Override
43
- Object readResponseToValue(AntidotePB.ApbReadObjectResp resp) {
+ Long readResponseToValue(AntidotePB.ApbReadObjectResp resp) {
44
return ResponseDecoder.integer().readResponseToValue(resp);
45
46
0 commit comments