Class StringUtils

java.lang.Object
com.complexible.common.util.StringUtils

public class StringUtils extends Object
  • Constructor Details

    • StringUtils

      public StringUtils()
  • Method Details

    • lazyString

      public static Object lazyString(Supplier<String> s)
      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 Supplier when its toString() is called