Class BranchTask


  • public abstract class BranchTask
    extends TreeTask
    A Task that holds up to two child Tasks. This task will never be executed and is used to control logic flow.
    • Constructor Summary

      Constructors 
      Constructor Description
      BranchTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Always do nothing in this function, and do not allow it to be overridden.
      boolean isLeaf()
      This can NEVER be a leaf.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BranchTask

        public BranchTask()
    • Method Detail

      • execute

        public final void execute()
        Always do nothing in this function, and do not allow it to be overridden.
        Specified by:
        execute in class TreeTask
      • isLeaf

        public final boolean isLeaf()
        This can NEVER be a leaf.
        Specified by:
        isLeaf in class TreeTask
        Returns:
        false