Class StringUtil

java.lang.Object
com.algorand.algosdk.algod.client.StringUtil

@Deprecated
public class StringUtil
extends java.lang.Object
Deprecated.
  • Constructor Summary

    Constructors
    Constructor Description
    StringUtil()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static boolean containsIgnoreCase​(java.lang.String[] array, java.lang.String value)
    Deprecated.
    Check if the given array contains the given value (with case-insensitive comparison).
    static java.lang.String join​(java.lang.String[] array, java.lang.String separator)
    Deprecated.
    Join an array of strings with the given separator.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StringUtil

      public StringUtil()
      Deprecated.
  • Method Details

    • containsIgnoreCase

      public static boolean containsIgnoreCase​(java.lang.String[] array, java.lang.String value)
      Deprecated.
      Check if the given array contains the given value (with case-insensitive comparison).
      Parameters:
      array - The array
      value - The value to search
      Returns:
      true if the array contains the value
    • join

      public static java.lang.String join​(java.lang.String[] array, java.lang.String separator)
      Deprecated.
      Join an array of strings with the given separator.

      Note: This might be replaced by utility method from commons-lang or guava someday if one of those libraries is added as dependency.

      Parameters:
      array - The array of strings
      separator - The separator
      Returns:
      the resulting string