Interface BlockSequence.Holder

    • Method Detail

      • newBlockSequence

        default BlockSequence newBlockSequence​(int initialCapacity)
        Adds a new Block Sequence. (see BlockSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Block Sequence
        Returns:
        the newly created BlockSequence.
      • ensureBlockSequence

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

        default boolean containsBlockSequence()
        Returns:
        whether it contains the Block Sequence (see BlockSequence)
      • removeBlockSequence

        default void removeBlockSequence()
        Removes the Block Sequence (see BlockSequence