org.simantics.databoard.primitives
Class UnsignedInteger.Mutable
java.lang.Object
java.lang.Number
org.simantics.databoard.primitives.UnsignedInteger
org.simantics.databoard.primitives.UnsignedInteger.Mutable
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<java.lang.Number>
- Enclosing class:
- UnsignedInteger
public static class UnsignedInteger.Mutable
- extends UnsignedInteger
- See Also:
- Serialized Form
Methods inherited from class java.lang.Number |
byteValue, shortValue |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UnsignedInteger.Mutable
public UnsignedInteger.Mutable()
UnsignedInteger.Mutable
public UnsignedInteger.Mutable(int value)
throws java.lang.IllegalArgumentException
- Create new unsigned integer from a signed integer.
Use #fromBits() to make bitwise conversion
- Parameters:
value
- signed integer
- Throws:
java.lang.IllegalArgumentException
- if argument is sub zero
UnsignedInteger.Mutable
public UnsignedInteger.Mutable(long value)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
UnsignedInteger.Mutable
public UnsignedInteger.Mutable(java.lang.String stringValue)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
fromBits
public static UnsignedInteger fromBits(int intBits)
setBits
public void setBits(int intBits)
setValue
public void setValue(int value)
setValue
public void setValue(long value)