DoubleRepresentation

Representation possibilities for Double, because SharedPreferences don't have getDouble or putDouble methods.

Entries

Link copied to clipboard

Double will be encoded as and decoded from Float. Note, that precision will be lost.

Link copied to clipboard

Double will be encoded as and decoded from Long using Double.toBits and Double.Companion.fromBits

Link copied to clipboard

Double will be encoded as and decoded from String using Double.toString and String.toDouble

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard