Uses of Class
com.upokecenter.cbor.CBORNumber
Packages that use CBORNumber
-
Uses of CBORNumber in com.upokecenter.cbor
Methods in com.upokecenter.cbor that return CBORNumberModifier and TypeMethodDescriptionCBORNumber.Abs()Returns the absolute value of this CBOR number.CBORNumber.Add(CBORNumber b) Returns the sum of this number and another number.CBORObject.AsNumber()Converts this object to a CBOR number.CBORNumber.Divide(CBORNumber b) Returns the quotient of this number and another number.static CBORNumberCBORNumber.FromByte(byte inputByte) Converts a byte (from 0 to 255) to an arbitrary-precision decimal number.static CBORNumberCBORNumber.FromCBORObject(CBORObject o) Creates a CBOR number object from a CBOR object representing a number (that is, one for which the IsNumber property in.NET or the isNumber() method in Java returns true).static CBORNumberCBORNumber.FromInt16(short inputInt16) Converts a 16-bit signed integer to an arbitrary-precision decimal number.CBORNumber.Multiply(CBORNumber b) Returns a CBOR number expressing the product of this number and the given number.CBORNumber.Negate()Returns a CBOR number with the same value as this one but with the sign reversed.CBORNumber.Remainder(CBORNumber b) Returns the remainder when this number is divided by another number.CBORNumber.Subtract(CBORNumber b) Returns a number that expresses this number minus another.Methods in com.upokecenter.cbor with parameters of type CBORNumberModifier and TypeMethodDescriptionCBORNumber.Add(CBORNumber b) Returns the sum of this number and another number.intCBORNumber.compareTo(CBORNumber other) Compares this CBOR number with another.CBORNumber.Divide(CBORNumber b) Returns the quotient of this number and another number.CBORNumber.Multiply(CBORNumber b) Returns a CBOR number expressing the product of this number and the given number.CBORNumber.Remainder(CBORNumber b) Returns the remainder when this number is divided by another number.CBORNumber.Subtract(CBORNumber b) Returns a number that expresses this number minus another.