org.apache.commons.functor.example.kata.four
Class IsInteger
java.lang.Object
org.apache.commons.functor.example.kata.four.IsInteger
- All Implemented Interfaces:
- Functor, UnaryFunctor<String>, UnaryPredicate<String>
public final class IsInteger
- extends Object
- implements UnaryPredicate<String>
Tests to true iff the input object can be converted to
an Integer by ToInteger.
- Version:
- $Revision: 665786 $ $Date: 2008-06-09 19:17:39 +0200 (Mon, 09 Jun 2008) $
- Author:
- Rodney Waldhoff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsInteger
public IsInteger()
test
public boolean test(String obj)
- Specified by:
test in interface UnaryPredicate<String>
instance
public static final IsInteger instance()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.