org.apache.commons.functor.example.lines
Class Contains<T>

java.lang.Object
  extended by org.apache.commons.functor.example.lines.Contains<T>
All Implemented Interfaces:
Functor, UnaryFunctor<T>, UnaryPredicate<T>

public class Contains<T>
extends Object
implements UnaryPredicate<T>

Version:
$Revision: 665786 $ $Date: 2008-06-09 19:17:39 +0200 (Mon, 09 Jun 2008) $
Author:
Rodney Waldhoff

Constructor Summary
Contains(String str)
           
 
Method Summary
 boolean test(T obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.functor.Functor
equals, hashCode, toString
 

Constructor Detail

Contains

public Contains(String str)
Method Detail

test

public boolean test(T obj)
Specified by:
test in interface UnaryPredicate<T>


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.