Package org.cactoos.text
Class Joined
- java.lang.Object
-
- org.cactoos.text.TextEnvelope
-
- org.cactoos.text.Joined
-
- All Implemented Interfaces:
Text
public final class Joined extends TextEnvelope
Join a Text.There is no thread-safety guarantee.
- Since:
- 0.9
-
-
Constructor Summary
Constructors Constructor Description Joined(CharSequence delimit, CharSequence... strs)
Ctor.Joined(CharSequence delimit, Iterable<? extends CharSequence> strs)
Ctor.Joined(CharSequence delimit, Text... txts)
Ctor.Joined(Text delimit, Iterable<? extends Text> txts)
Ctor.Joined(Text delimit, Text... txts)
Ctor.
-
-
-
Constructor Detail
-
Joined
public Joined(CharSequence delimit, CharSequence... strs)
Ctor.- Parameters:
delimit
- Delimit among stringsstrs
- Strings to be joined
-
Joined
public Joined(CharSequence delimit, Iterable<? extends CharSequence> strs)
Ctor.- Parameters:
delimit
- Delimit among stringsstrs
- Strings to be joined
-
Joined
public Joined(Text delimit, Text... txts)
Ctor.- Parameters:
delimit
- Delimit among textstxts
- Texts to be joined
-
Joined
public Joined(CharSequence delimit, Text... txts)
Ctor.- Parameters:
delimit
- Delimit among textstxts
- Texts to be joined
-
-