Package com.tailf.conf
Class ConfBit64
Object
com.tailf.conf.ConfObject
com.tailf.conf.ConfValue
com.tailf.conf.ConfBits
com.tailf.conf.ConfBit64
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ConfBits>
DATA_CONTAINER - Corresponds to the YANG bit64 type. A bitset with no bit
position higher that 63
- See Also:
-
Field Summary
Fields inherited from class com.tailf.conf.ConfObject
J_BINARY, J_BIT32, J_BIT64, J_BITBIG, J_BOOL, J_BUF, J_CDBBEGIN, J_DATE, J_DATETIME, J_DECIMAL64, J_DEFAULT, J_DOUBLE, J_DQUAD, J_DURATION, J_ENUMERATION, J_HEXSTR, J_IDENTITYREF, J_INSTANCE_IDENTIFIER, J_INT16, J_INT32, J_INT64, J_INT8, J_IPV4, J_IPV4_AND_PLEN, J_IPV4PREFIX, J_IPV6, J_IPV6_AND_PLEN, J_IPV6PREFIX, J_LIST, J_NOEXISTS, J_OBJECTREF, J_OID, J_PTR, J_QNAME, J_STR, J_SYMBOL, J_TIME, J_UINT16, J_UINT32, J_UINT64, J_UINT8, J_UNION, J_XMLBEGIN, J_XMLBEGINDEL, J_XMLEND, J_XMLMOVEAFTER, J_XMLMOVEFIRST, J_XMLTAG
-
Constructor Summary
ConstructorDescriptionConfBit64
(byte[] val) Construct a ConfBit64 value from a byte array with the bytes in little endian orderConfBit64
(long l) Construct a Confbit64 value from a long representing the bitsString constructor for ConfBit64.ConfBit64
(BigInteger bigint) Construct a ConfBit64 value from a BigInteger representing the bits -
Method Summary
Methods inherited from class com.tailf.conf.ConfBits
byteArrayValue, clearBit, compareTo, getBitNamesByValue, getBitNamesByValue, getValueByBitNamesString, getValueByBitNamesString, isBitSet, setBit, toString
Methods inherited from class com.tailf.conf.ConfValue
getStringByValue, getStringByValue, getValueByString, getValueByString
Methods inherited from class com.tailf.conf.ConfObject
clone, decode
-
Constructor Details
-
ConfBit64
public ConfBit64(long l) Construct a Confbit64 value from a long representing the bits- Parameters:
l
-
-
ConfBit64
Construct a ConfBit64 value from a BigInteger representing the bits- Parameters:
bigint
-
-
ConfBit64
public ConfBit64(byte[] val) Construct a ConfBit64 value from a byte array with the bytes in little endian order- Parameters:
val
-
-
ConfBit64
String constructor for ConfBit64. The string representation is expected to be 'bin<0x...>' with the hexadecimal representation of the bitset in little endian order.- Parameters:
str
-- Throws:
ConfException
-
-
Method Details
-
equals
Equals method for ConfBit64 -
hashCode
public int hashCode()hashCode method for ConfBit64 -
bigValue
Return a BigInteger representing this bitset.- Returns:
- BigInteger
-