org.apache.ode.utils.stl

## Class EqualsUnaryFunction<T>

- java.lang.Object
- - org.apache.ode.utils.stl.MemberOfFunction
  - - org.apache.ode.utils.stl.EqualsUnaryFunction<T>

- All Implemented Interfaces:
    UnaryFunction, UnaryFunctionEx

      public class EqualsUnaryFunction<T>
      extends MemberOfFunction

  Equality comparison unary function, compares against a constant value.

  Created on Feb 4, 2004 at 5:15:38 PM.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.ode.utils.stl.MemberOfFunction

      `MemberOfFunction.InstanceOf`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EqualsUnaryFunction(T c)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isMember(java.lang.Object x)` 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

    - #### EqualsUnaryFunction

          public EqualsUnaryFunction(T c)

  - ### Method Detail

    - #### isMember

          public boolean isMember(java.lang.Object x)

      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:
        `x` - element to test
      Returns:
        `true` if element is a member