結果 : check if string is palindrome java 8