Package org.cactoos.text
Class Rotated
- java.lang.Object
-
- org.cactoos.text.TextEnvelope
-
- org.cactoos.text.Rotated
-
- All Implemented Interfaces:
Text
public final class Rotated extends TextEnvelope
Rotate (circular shift) a String of shift characters.- Since:
- 0.12
-
-
Constructor Detail
-
Rotated
public Rotated(Text text, int shift)
Ctor.- Parameters:
text
- The textshift
- The shift
-
-