]> Softwares of Agnibho - anagram.git/blobdiff - com/agnibho/code/anagram/IsPalindrome.java
Rewritten in C++
[anagram.git] / com / agnibho / code / anagram / IsPalindrome.java
diff --git a/com/agnibho/code/anagram/IsPalindrome.java b/com/agnibho/code/anagram/IsPalindrome.java
deleted file mode 100644 (file)
index 65a7d59..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-    Anagram- Find anagrams of a word
-    Copyright (C) 2013  Agnibho Mondal
-    
-    This file is part of Anagram.
-
-    Anagram is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    Anagram is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with Anagram.  If not, see <http://www.gnu.org/licenses/>.
-*/
-package com.agnibho.code.anagram;
-
-/**
- *
- * @author SPARK
- */
-public class IsPalindrome {
-    boolean flag;
-    
-    IsPalindrome(){
-    }
-    
-    public boolean check(String input){
-        java.lang.StringBuilder reverse;
-        input=input.toLowerCase();
-        reverse=new java.lang.StringBuilder(input);
-        reverse=reverse.reverse();
-        if(input.equals(reverse.toString())) flag=true;
-        else flag=false;
-        return flag;
-    }
-}