org.simantics.databoard.primitives
Class UnsignedInteger.Immutable
java.lang.Object
java.lang.Number
org.simantics.databoard.primitives.UnsignedInteger
org.simantics.databoard.primitives.UnsignedInteger.Immutable
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<java.lang.Number>
- Enclosing class:
- UnsignedInteger
public static final class UnsignedInteger.Immutable
- extends UnsignedInteger
- See Also:
- Serialized Form
Methods inherited from class org.simantics.databoard.primitives.UnsignedInteger |
compareTo, doubleValue, equals, floatValue, fromBits, hashCode, intValue, longValue, toBits, toString, valueOf |
Methods inherited from class java.lang.Number |
byteValue, shortValue |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UnsignedInteger.Immutable
public UnsignedInteger.Immutable(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.Immutable
public UnsignedInteger.Immutable(long value)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
UnsignedInteger.Immutable
public UnsignedInteger.Immutable(java.lang.String stringValue)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException