Flag

enum Flag : Enum<Flag>

Modifying flags for a Formattable that modify the output

Entries

Link copied to clipboard

Left-justifies the result of Formattable

Link copied to clipboard

Upper cases the result of Formattable

Link copied to clipboard

The result of Formattable should use a conversion-dependent alternative form.

Link copied to clipboard

Number results of Formattable will always include a sign, even when positive.

Link copied to clipboard

Number results of Formattable will include a leading space when positive.

Link copied to clipboard

Number results of Formattable will be zero-padded.

Link copied to clipboard

Number results of Formattable will include locale specific grouping separators.

Link copied to clipboard

Number results of Formattable will enclose negative numbers in parentheses.

Link copied to clipboard

Causes the arguments of the previous Formattable to be used.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val char: Char
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Flag

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
fun values(): Array<Flag>

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