JavaAlgorithms
Elementary and no so elementary Java algorithms
|
Static Public Member Functions | |
static String | reverse (String str) |
static boolean | isSubstring (String sub, String str) |
static boolean stringAlgorithms.Algorithms.isSubstring | ( | String | sub, |
String | str | ||
) | [static] |
Return true of sub is a sub-string of str
sub | the substring |
str | the string |
Definition at line 62 of file Algorithms.java.
static String stringAlgorithms.Algorithms.reverse | ( | String | str | ) | [static] |
Reverse the order of characters in a string.
str | the input character sequence. |
Definition at line 34 of file Algorithms.java.