Class StringUtils


  • public final class StringUtils
    extends Object
    Utilities for working with strings.
    • Method Detail

      • repr

        @NotNull
        public static @NotNull String repr​(@Nullable
                                           @Nullable String string)
        Returns a string representation of the given string. If the string is null, returns "null". Else, returns the string surrounded by single quotes.
        Parameters:
        string - string to represent
        Returns:
        string representation