結果 : find all possible substrings of a string java