Package org.webpki.cbor
Class CBORBoolean
java.lang.Object
org.webpki.cbor.CBORObject
org.webpki.cbor.CBORBoolean
- All Implemented Interfaces:
Cloneable
,Comparable<CBORObject>
Class for holding CBOR
boolean
objects.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.webpki.cbor.CBORObject
checkForUnread, clone, compareTo, encode, equals, getArray, getBigInteger, getBoolean, getBytes, getFloat16, getFloat32, getFloat64, getInt16, getInt32, getInt64, getInt8, getMap, getString, getTag, getUint16, getUint32, getUint64, getUint8, hashCode, isNull, scan, toDiagnosticNotation, toString
-
Constructor Details
-
CBORBoolean
public CBORBoolean(boolean value) Creates a CBORboolean
.- Parameters:
value
-true
orfalse
-