Interface BranchReplacer

  • All Superinterfaces:
    Replacer
    All Known Implementing Classes:
    FilterSwitch, IfBranchReplacer

    public interface BranchReplacer
    extends Replacer
    A Replacer that has branches (e.g. like an if-statment)
    Version:
    1.0
    Author:
    Andreas
    • Method Detail

      • getBranchCount

        int getBranchCount()
        Returns the number of branches of this replacer
      • getBranchSign

        java.lang.String getBranchSign​(int index)
        Returns the marker for the index-th branch. magellan.library.utils.replacers.Replacer#NEXT_BRANCH or magellan.library.utils.replacers.Replacer#END.
      • setBranch

        void setBranch​(int index,
                       java.lang.Object obj)
        Set the index-th branch to obj.