Class AreaPositions

    • Method Detail

      • areAllChildrenClosed

        public Boolean areAllChildrenClosed()
      • merge

        public Positions merge​(Positions other)
        Merge this Positions with another one. If the given Positions is: - SinglePosition, it will raise an IllegalArgumentException. - LinearPositions, it will return a new AreaPosition by appending the given LinearPositions to this. - AreaPositions, it will return a new MultiDimensionalPositions composed by this and the given AreaPositions, in order. - Any other, it delegates to the other the merge logic.
        Parameters:
        other - Positions instance to merge with.
        Returns:
        Positions results of merging.