Class Slot


  • public final class Slot
    extends java.lang.Object
    A typed (constraint, section) pair for the varargs Split constructors.
    • Method Detail

      • of

        public static Slot of​(Constraint constraint,
                              Section section)
        Pairs a constraint with the section it sizes.
        Parameters:
        constraint - the sizing constraint
        section - the section to size
        Returns:
        the slot
      • constraint

        public Constraint constraint()
        Returns:
        the sizing constraint
      • section

        public Section section()
        Returns:
        the section