public static class MemberOfFunction.InstanceOf extends MemberOfFunction
MemberOfFunction.InstanceOf
Constructor and Description |
---|
InstanceOf(java.lang.Class cls) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMember(java.lang.Object o)
A unary function that tests whether an element is the member of a set.
|
apply
public boolean isMember(java.lang.Object o)
MemberOfFunction
isMember
in class MemberOfFunction
o
- element to testtrue
if element is a member