Package proguard.util
Class AndStringFunction
java.lang.Object
proguard.util.AndStringFunction
- All Implemented Interfaces:
StringFunction
This
StringFunction tests whether the first given StringFunction returns not
null, returning the result of the latter function if so, or null otherwise.-
Field Summary
Fields inherited from interface proguard.util.StringFunction
IDENTITY_FUNCTION -
Constructor Summary
ConstructorsConstructorDescriptionAndStringFunction(StringFunction stringFunction1, StringFunction stringFunction2) Creates a new AndStringFunction with the two given string functions. -
Method Summary
-
Constructor Details
-
AndStringFunction
Creates a new AndStringFunction with the two given string functions.
-
-
Method Details
-
transform
Description copied from interface:StringFunctionTransforms the given string into a new string.- Specified by:
transformin interfaceStringFunction
-