CTAT 3.1 Function Reference

edu.cmu.pact.BehaviorRecorder.ProblemModel.Matcher.Functions
Class memberOf

java.lang.Object
  extended by edu.cmu.pact.BehaviorRecorder.ProblemModel.Matcher.Functions.memberOf

public class memberOf
extends java.lang.Object

Return true if the first argument is equal to any of the other arguments, false otherwise.


Constructor Summary
memberOf()
           
 
Method Summary
 boolean memberOf(double d, double... values)
          True if the first argument is equal to any of the other arguments, false otherwise.
 boolean memberOf(double d, java.lang.Object... values)
          True if the first argument is equal to any of the other arguments, false otherwise.
 boolean memberOf(java.lang.Object o, java.lang.Object... values)
          True if the first argument is equal to any of the other arguments, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

memberOf

public memberOf()
Method Detail

memberOf

public boolean memberOf(java.lang.Object o,
                        java.lang.Object... values)

True if the first argument is equal to any of the other arguments, false otherwise.

Parameters:
o - value to find among other arguments
values - other arguments
Returns:
true if found

memberOf

public boolean memberOf(double d,
                        double... values)

True if the first argument is equal to any of the other arguments, false otherwise.

Parameters:
o - value to find among other arguments
values - other arguments
Returns:
true if found

memberOf

public boolean memberOf(double d,
                        java.lang.Object... values)

True if the first argument is equal to any of the other arguments, false otherwise.

Parameters:
o - value to find among other arguments
values - other arguments
Returns:
true if found

CTAT 3.1 Function Reference