Class Util
java.lang.Object
org.springframework.shell.test.jediterm.terminal.util.Util
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bitsetCopy
(BitSet src, int srcOffset, BitSet dest, int destOffset, int length) static boolean
charsEqualIgnoreCase
(char a, char b) static boolean
containsIgnoreCase
(String where, String what) static char[]
copyOf
(char[] original, int newLength) static int[]
copyOf
(int[] original, int newLength) static <T> T[]
copyOf
(T[] original, int newLength) static int
indexOfIgnoreCase
(String where, String what, int fromIndex) Implementation copied fromString.indexOf(String, int)
except character comparisons made case insensitivestatic String
trimTrailing
(String string)
-
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
-
trimTrailing
-
containsIgnoreCase
-
indexOfIgnoreCase
Implementation copied fromString.indexOf(String, int)
except character comparisons made case insensitive -
charsEqualIgnoreCase
public static boolean charsEqualIgnoreCase(char a, char b)
-