モジュール pro.eng.yui.YuiFramework

インタフェース IStringUtil


public interface IStringUtil
Define common String operations
導入されたバージョン:
1.0.0
バージョン:
1.0.0
作成者:
yui-KITAMURA
  • メソッドの詳細

    • eq

      boolean eq(String first, String second)
      test the two strings are equal. null-safe
      関連項目:
    • eqCase

      boolean eqCase(String first, String second)
      test the two strings are equal in Case-sensitive. null-safe
      関連項目:
    • eq

      boolean eq(Object first, Object second)
      test the two objects String value are equal.
      パラメータ:
      first - first object to be string value
      second - second object to be string value
      戻り値:
      if two string value are same then true
      関連項目:
    • eqCase

      boolean eqCase(Object first, Object second)
      test the two objects String value are equal in Case-sensitive.
      パラメータ:
      first - first object to be string value
      second - second object to be string value
      戻り値:
      if two string value are same then true
      関連項目:
    • concat

      String concat(Iterable<? extends CharSequence> arg)
      get joined string
      パラメータ:
      arg - any list or arrays to concat
      戻り値:
      single string value that joined all arguments
    • concat

      String concat(CharSequence... arg)
      関連項目:
    • concatWithDelimiter

      String concatWithDelimiter(CharSequence delimiter, Iterable<? extends CharSequence> arg)
      get joined string that each separated with delimiter
      パラメータ:
      delimiter - joint string
      arg - any list or arrays to concat
      戻り値:
      single string value that joined all arguments each separated with delimiter
    • concatWithDelimiter

      String concatWithDelimiter(CharSequence delimiter, CharSequence... arg)
      関連項目:
    • isEmpty

      boolean isEmpty(String value)
      Check the value is empty.
      パラメータ:
      value - the value that you want to test
      戻り値:
      if null or length is 0 then true, otherwise false
    • isEmpty

      boolean isEmpty(Object obj)
      Check the objects string representation is empty.
      パラメータ:
      obj - the object that you want to test
      戻り値:
      true when null or the Object.toString() value is empty
      関連項目:
      • StringUtils.isEmpty(String)
    • nullToEmpty

      String nullToEmpty(String value)
      if the value is null then return ""(Empty string)
      パラメータ:
      value - the String object or null value
      戻り値:
      if the value is null then empty string(""). Other case, same as original value