Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RollRecoveryEntry entry = (RollRecoveryEntry) o;
if (rollDistance != entry.rollDistance) {
return false;
}
return true;
|
public java.nio.ByteBuffer | get()
ByteBuffer content = ByteBuffer.allocate(2);
content.putShort(rollDistance);
content.rewind();
return content;
|
public short | getRollDistance()
return rollDistance;
|
public int | hashCode()
return (int) rollDistance;
|
public void | parse(java.nio.ByteBuffer byteBuffer)
rollDistance = byteBuffer.getShort();
|
public void | setRollDistance(short rollDistance)
this.rollDistance = rollDistance;
|