Package org.webpki.cbor
Class CBORBoolean
java.lang.Object
org.webpki.cbor.CBORObject
org.webpki.cbor.CBORBoolean
- All Implemented Interfaces:
Cloneable
Class for holding CBOR
boolean
objects.-
Constructor Summary
-
Method Summary
Methods inherited from class org.webpki.cbor.CBORObject
checkForUnread, clone, decode, decode, encode, equals, getArray, getBigInteger, getBoolean, getByte, getBytes, getDouble, getFloat, getInt, getLong, getMap, getShort, getString, getTag, getType, getUnsignedByte, getUnsignedInt, getUnsignedLong, getUnsignedShort, hashCode, isNull, scan, toDiagnosticNotation, toString
-
Constructor Details
-
CBORBoolean
public CBORBoolean(boolean value) Creates a CBORboolean
.- Parameters:
value
-true
orfalse
-