Class LinkedToBooleanExpression

  • All Implemented Interfaces:
    IBooleanExpression

    public class LinkedToBooleanExpression
    extends Object
    implements IBooleanExpression
    Returns true if the watcher is linked to the watchee any network in the current Context. Note that for an undirected network, "linked to" is identical to "linked."
    Version:
    $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
    Author:
    Nick Collier
    • Constructor Detail

      • LinkedToBooleanExpression

        public LinkedToBooleanExpression​(Context context)
    • Method Detail

      • execute

        public boolean execute​(Object watcher,
                               Object watchee,
                               Object field)
        Returns true if the watcher is linked to the watchee.
        Specified by:
        execute in interface IBooleanExpression
        Parameters:
        watcher -
        watchee -
        field -
        Returns:
        true if the watcher is a precedecessor of the watchee.