Class ArcsSet.Split

  • Enclosing class:
    ArcsSet

    public static class ArcsSet.Split
    extends java.lang.Object
    Class holding the results of the split method.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ArcsSet minus
      Part of the arcs set on the minus side of the splitting arc.
      private ArcsSet plus
      Part of the arcs set on the plus side of the splitting arc.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Split​(ArcsSet plus, ArcsSet minus)
      Build a Split from its parts.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ArcsSet getMinus()
      Get the part of the arcs set on the minus side of the splitting arc.
      ArcsSet getPlus()
      Get the part of the arcs set on the plus side of the splitting arc.
      Side getSide()
      Get the side of the split arc with respect to its splitter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • plus

        private final ArcsSet plus
        Part of the arcs set on the plus side of the splitting arc.
      • minus

        private final ArcsSet minus
        Part of the arcs set on the minus side of the splitting arc.
    • Constructor Detail

      • Split

        private Split​(ArcsSet plus,
                      ArcsSet minus)
        Build a Split from its parts.
        Parameters:
        plus - part of the arcs set on the plus side of the splitting arc
        minus - part of the arcs set on the minus side of the splitting arc
    • Method Detail

      • getPlus

        public ArcsSet getPlus()
        Get the part of the arcs set on the plus side of the splitting arc.
        Returns:
        part of the arcs set on the plus side of the splitting arc
      • getMinus

        public ArcsSet getMinus()
        Get the part of the arcs set on the minus side of the splitting arc.
        Returns:
        part of the arcs set on the minus side of the splitting arc