Java: Test if a string contains a sequence of char values

Java: Test if a string contains a sequence of char values