Class StyledSegment<SEG,​S>

  • Type Parameters:
    SEG - the segment type
    S - the style type

    public final class StyledSegment<SEG,​S>
    extends Object
    Essentially, an immutable Tuple2 that combines a segment object and a style object together.
    • Constructor Detail

      • StyledSegment

        public StyledSegment​(SEG segment,
                             S style)
    • Method Detail

      • getSegment

        public final SEG getSegment()
      • getStyle

        public final S getStyle()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object