edu.mit.ai.psg.utilities
Class UnaryTrue

java.lang.Object
  |
  +--edu.mit.ai.psg.utilities.UnaryTrue

public class UnaryTrue
extends Object
implements IUnaryPredicate

Predicate that always returns true


Field Summary
static UnaryTrue instance
           
 
Constructor Summary
UnaryTrue()
           
 
Method Summary
 boolean execute(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final UnaryTrue instance
Constructor Detail

UnaryTrue

public UnaryTrue()
Method Detail

execute

public boolean execute(Object obj)
Specified by:
execute in interface IUnaryPredicate

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu