Interface SegmentSequence.Holder

    • Method Detail

      • newSegmentSequence

        default SegmentSequence newSegmentSequence​(int initialCapacity)
        Adds a new Segment Sequence. (see SegmentSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Segment Sequence
        Returns:
        the newly created SegmentSequence.
      • ensureSegmentSequence

        default SegmentSequence ensureSegmentSequence​(int initialCapacity)
        Adds a new Segment Sequence (see SegmentSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
        Parameters:
        initialCapacity - the initial capacity (see ArrayList(int)) if a new Segment Sequence is created.
        Returns:
        either the already existing Segment Sequence (see SegmentSequence) or a new one with capacity initialCapacity.
      • containsSegmentSequence

        default boolean containsSegmentSequence()
        Returns:
        whether it contains the Segment Sequence (see SegmentSequence)
      • removeSegmentSequence

        default void removeSegmentSequence()
        Removes the Segment Sequence (see SegmentSequence