Interface IonBeamSequence.Holder

    • Method Detail

      • newIonBeamSequence

        default IonBeamSequence newIonBeamSequence​(int initialCapacity)
        Adds a new Ion Beam Sequence. (see IonBeamSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Ion Beam Sequence
        Returns:
        the newly created IonBeamSequence.
      • ensureIonBeamSequence

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

        default boolean containsIonBeamSequence()
        Returns:
        whether it contains the Ion Beam Sequence (see IonBeamSequence)
      • removeIonBeamSequence

        default void removeIonBeamSequence()
        Removes the Ion Beam Sequence (see IonBeamSequence