/** * Returns true if the event is ready. Otherwise, this enables the guard * for selection and returns false. * <P> * <I>Note: this method should only be called by the Alternative class</I> * * @param alt the Alternative class that is controlling the selection * @return true if and only if the event is ready */ Boolean enable(Alternative alt) { return(altingChannel.enable(alt)); }
/** * Returns true if the event is ready. Otherwise, this enables the guard * for selection and returns false. * <P> * <I>Note: this method should only be called by the Alternative class</I> * * @param alt the Alternative class that is controlling the selection * @return true if and only if the event is ready */ public override Boolean enable(Alternative alt) { return(channel.enable(alt)); }