public class AndNotStringFunction extends java.lang.Object implements StringFunction
StringFunction
tests whether the first given StringFunction
returns null,
returning the result of the latter function if so, or null otherwise.IDENTITY_FUNCTION
Constructor and Description |
---|
AndNotStringFunction(StringFunction stringFunction1,
StringFunction stringFunction2)
Creates a new AndNotStringFunction with the two given string functions.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
transform(java.lang.String string)
Transforms the given string into a new string.
|
public AndNotStringFunction(StringFunction stringFunction1, StringFunction stringFunction2)
public java.lang.String transform(java.lang.String string)
StringFunction
transform
in interface StringFunction