Package one.microstream.chars
Class StringSubstituter
- java.lang.Object
-
- one.microstream.chars.StringSubstituter
-
- All Implemented Interfaces:
StringStamper
public final class StringSubstituter extends Object implements StringStamper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.chars.StringStamper
StringStamper.Default
-
-
Constructor Summary
Constructors Constructor Description StringSubstituter()
-
Method Summary
Modifier and Type Method Description void
clear()
boolean
contains(String item)
StringSubstituter
iterate(Consumer<? super String> procedure)
static StringSubstituter
New()
String
remove(String item)
String
stampString(char[] chars, int offset, int length)
String
substitute(char[] chars, int offset, int length)
String
substitute(String item)
-
-
-
Method Detail
-
New
public static final StringSubstituter New()
-
substitute
public final String substitute(char[] chars, int offset, int length)
-
clear
public final void clear()
-
iterate
public final StringSubstituter iterate(Consumer<? super String> procedure)
-
contains
public final boolean contains(String item)
-
stampString
public final String stampString(char[] chars, int offset, int length)
- Specified by:
stampString
in interfaceStringStamper
-
-