kactoos-jvm / nnl.rocks.kactoos.text / PaddedStartText
class PaddedStartText : TextEnvelope
Text padded at start to reach the given length.
There is thread safe.
text - The text
length - The minimum length of the resulting string
symbol - The padding symbol
Since 0.4
| Name | Summary |
|---|---|
| <init> | PaddedStartText(text: Text, length: Int, symbol: Char)PaddedStartText(text: KText, length: Int, symbol: Char)Text padded at start to reach the given length. |
| Name | Summary |
|---|---|
| asString | open fun asString(): StringConvert it to the string. |
| compareTo | open fun compareTo(other: Text): Int |
| equals | open fun equals(other: Any?): Boolean |
| hashCode | open fun hashCode(): Int |
| toString | open fun toString(): String |