java.lang.Object
org.springframework.shell.test.jediterm.terminal.util.Util

public class Util extends Object
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • copyOf

      public static <T> T[] copyOf(T[] original, int newLength)
    • copyOf

      public static int[] copyOf(int[] original, int newLength)
    • copyOf

      public static char[] copyOf(char[] original, int newLength)
    • bitsetCopy

      public static void bitsetCopy(BitSet src, int srcOffset, BitSet dest, int destOffset, int length)
    • trimTrailing

      public static String trimTrailing(String string)
    • containsIgnoreCase

      public static boolean containsIgnoreCase(String where, String what)
    • indexOfIgnoreCase

      public static int indexOfIgnoreCase(String where, String what, int fromIndex)
      Implementation copied from String.indexOf(String, int) except character comparisons made case insensitive
    • charsEqualIgnoreCase

      public static boolean charsEqualIgnoreCase(char a, char b)