org.apache.ode.utils.stl
Class MemberOfFunction.InstanceOf

java.lang.Object
  extended by org.apache.ode.utils.stl.MemberOfFunction
      extended by org.apache.ode.utils.stl.MemberOfFunction.InstanceOf
All Implemented Interfaces:
UnaryFunction, UnaryFunctionEx
Enclosing class:
MemberOfFunction<E>

public static class MemberOfFunction.InstanceOf
extends MemberOfFunction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ode.utils.stl.MemberOfFunction
MemberOfFunction.InstanceOf
 
Constructor Summary
MemberOfFunction.InstanceOf(java.lang.Class cls)
           
 
Method Summary
 boolean isMember(java.lang.Object o)
          A unary function that tests whether an element is the member of a set.
 
Methods inherited from class org.apache.ode.utils.stl.MemberOfFunction
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberOfFunction.InstanceOf

public MemberOfFunction.InstanceOf(java.lang.Class cls)
Method Detail

isMember

public boolean isMember(java.lang.Object o)
Description copied from class: MemberOfFunction
A unary function that tests whether an element is the member of a set.

Specified by:
isMember in class MemberOfFunction
Parameters:
o - element to test
Returns:
true if element is a member