Interface ContentSequence.Holder

    • Method Detail

      • newContentSequence

        default ContentSequence newContentSequence​(int initialCapacity)
        Adds a new Content Sequence. (see ContentSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Content Sequence
        Returns:
        the newly created ContentSequence.
      • ensureContentSequence

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

        default boolean containsContentSequence()
        Returns:
        whether it contains the Content Sequence (see ContentSequence)
      • removeContentSequence

        default void removeContentSequence()
        Removes the Content Sequence (see ContentSequence