Package org.cactoos.text
Class Sticky
- java.lang.Object
-
- org.cactoos.text.TextEnvelope
-
- org.cactoos.text.Sticky
-
- All Implemented Interfaces:
Text
public final class Sticky extends TextEnvelope
Cached version of a Text.This
Text
decorator technically is an in-memory cache.There is no thread-safety guarantee.
- Since:
- 0.47
- See Also:
Sticky
-
-
Constructor Detail
-
Sticky
public Sticky(Text txt)
Ctor.- Parameters:
txt
- Text to cache
-
-