Class ReplaceAll
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.unary_string.ReplaceAll
- All Implemented Interfaces:
java.util.function.Function<java.lang.String,java.lang.String>
public class ReplaceAll
extends java.lang.Object
implements java.util.function.Function<java.lang.String,java.lang.String>
Replace all occurrences of the extant string with the replacement string.
-
Constructor Summary
Constructors Constructor Description ReplaceAll(java.lang.String extant, java.lang.String replacement) -
Method Summary
Modifier and Type Method Description java.lang.Stringapply(java.lang.String s)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.Function
andThen, compose
-
Constructor Details
-
ReplaceAll
public ReplaceAll(java.lang.String extant, java.lang.String replacement)
-
-
Method Details
-
apply
public java.lang.String apply(java.lang.String s)- Specified by:
applyin interfacejava.util.function.Function<java.lang.String,java.lang.String>
-