public class UnsignedInteger extends Object
Constructor and Description |
---|
UnsignedInteger(int value)
Constructor.
|
UnsignedInteger(String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getUnsignedInteger()
Returns the underlying representation of an unsigned integer.
|
static boolean |
isUIntString(String str)
Returns true iff the @codeDeprecated str represents unsigned integer.
|
void |
setUnsignedInteger(int value)
Set a new value for the unsigned integer
|
String |
toString()
Returns the string value of the unsigned integer.
|
public UnsignedInteger(int value)
value
- integer valuepublic UnsignedInteger(String value)
value
- string valueNumberFormatException
- if
public static boolean isUIntString(String str)
str
- input string.public int getUnsignedInteger()
public void setUnsignedInteger(int value)
value
- int value representing the new unsigned integerpublic String toString()
Copyright © 2005–2024 Onix Solutions. All rights reserved.