Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / SyncText

SyncText

class SyncText : TextEnvelope

Text that is thread-safe.

Objects of this class are thread safe.

Since 0.5

Constructors

Name Summary
<init> SyncText(origin: KText)
SyncText(origin: Text)
SyncText(origin: Text, lock: Any)SyncText(origin: KText, lock: Any)
Text that is thread-safe.

Inherited Functions

Name Summary
asString open fun asString(): String
Convert 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