@Deprecated
public final class BIWrapper
extends java.lang.Object
Constructor and Description |
---|
BIWrapper(java.math.BigInteger value,
int size,
int radix)
Deprecated.
Constructs a BIWrapper object from a BigInteger value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
getRadix()
Deprecated.
Returns the radix that is used to translate data to/from a string.
|
int |
getSize()
Deprecated.
Returns the size of the stored data in bits.
|
java.math.BigInteger |
getValue()
Deprecated.
Returns a BigInteger object which is the internal representation of the stored data.
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toBinString()
Deprecated.
Converts the stored data into a binary string.
|
java.lang.String |
toHexString()
Deprecated.
Converts the stored data into a hexadecimal string.
|
java.lang.String |
toString()
Deprecated.
Converts the stored data to a string (the string format depends on radix).
|
static BIWrapper |
valueOf(java.lang.String value,
int radix,
int size,
int typeRadix)
Deprecated.
A factory method that creates a BIWrapper object from a string representation.
|
public BIWrapper(java.math.BigInteger value, int size, int radix)
value
- A BitVectorWrapper object that stores data.size
- The size of the data in bits.radix
- The radix that will be used in data conversions.public static BIWrapper valueOf(java.lang.String value, int radix, int size, int typeRadix)
value
- The string representation of the data.radix
- The radix that will be used in to convert the string to a BigInteger object.size
- The size of the data in bits.typeRadix
- The radix that will be used to convert the data object to string.public java.lang.String toBinString()
public java.lang.String toHexString()
public java.lang.String toString()
toString
in class java.lang.Object
public java.math.BigInteger getValue()
public int getSize()
public int getRadix()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object