public class PalindromeUtils extends Object
Constructor and Description |
---|
PalindromeUtils() |
Modifier and Type | Method and Description |
---|---|
static PrintStream |
getPrintStream(String file)
Get a PrintStream for printing to give file
|
static boolean |
isPalindrome(String line)
Super simple palindrome test.
|
public static boolean isPalindrome(String line)
line
- - line to testpublic static PrintStream getPrintStream(String file) throws FileNotFoundException
file
- - file to open as PrintStreamFileNotFoundException
Copyright © 1999-2015 Apache OODT. All Rights Reserved.