public abstract class UnsignedVariableInteger extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UnsignedVariableInteger.Bits |
Modifier and Type | Field and Description |
---|---|
protected long |
value |
Modifier | Constructor and Description |
---|---|
protected |
UnsignedVariableInteger() |
|
UnsignedVariableInteger(long value) |
|
UnsignedVariableInteger(String s) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
abstract UnsignedVariableInteger.Bits |
getBits() |
int |
getMinValue() |
Long |
getValue() |
int |
hashCode() |
UnsignedVariableInteger |
increment(boolean rolloverToOne) |
void |
isInRange(long value) |
protected UnsignedVariableInteger |
setValue(long value) |
String |
toString() |
protected UnsignedVariableInteger()
public UnsignedVariableInteger(long value) throws NumberFormatException
NumberFormatException
public UnsignedVariableInteger(String s) throws NumberFormatException
NumberFormatException
protected UnsignedVariableInteger setValue(long value)
public Long getValue()
public void isInRange(long value) throws NumberFormatException
NumberFormatException
public int getMinValue()
public abstract UnsignedVariableInteger.Bits getBits()
public UnsignedVariableInteger increment(boolean rolloverToOne)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.