Package com.complexible.common.util
Class StringUtils
java.lang.Object
com.complexible.common.util.StringUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectlazyString(Supplier<String> s) For use with templating functions (e.g.
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
lazyString
For use with templating functions (e.g.Preconditions) that apply toString() to their arguments.- Parameters:
s- A supplier that generates a String- Returns:
- an object that delegates to the provided
Supplierwhen its toString() is called
-