Class ImmutableQuantifiedBasePair.Builder

  • Enclosing class:
    ImmutableQuantifiedBasePair

    @NotThreadSafe
    public static final class ImmutableQuantifiedBasePair.Builder
    extends Object
    Builds instances of type ImmutableQuantifiedBasePair. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • from

        public final ImmutableQuantifiedBasePair.Builder from​(ClassifiedBasePair instance)
        Fill a builder with attribute values from the provided pl.poznan.put.structure.ClassifiedBasePair instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        public final ImmutableQuantifiedBasePair.Builder from​(QuantifiedBasePair instance)
        Fill a builder with attribute values from the provided pl.poznan.put.structure.QuantifiedBasePair instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • saenger

        public final ImmutableQuantifiedBasePair.Builder saenger​(Saenger saenger)
        Initializes the value for the saenger attribute.

        If not set, this attribute will have a default value as returned by the initializer of saenger.

        Parameters:
        saenger - The value for saenger
        Returns:
        this builder for use in a chained invocation
      • leontisWesthof

        public final ImmutableQuantifiedBasePair.Builder leontisWesthof​(LeontisWesthof leontisWesthof)
        Initializes the value for the leontisWesthof attribute.

        If not set, this attribute will have a default value as returned by the initializer of leontisWesthof.

        Parameters:
        leontisWesthof - The value for leontisWesthof
        Returns:
        this builder for use in a chained invocation
      • bph

        public final ImmutableQuantifiedBasePair.Builder bph​(BPh bph)
        Initializes the value for the bph attribute.

        If not set, this attribute will have a default value as returned by the initializer of bph.

        Parameters:
        bph - The value for bph
        Returns:
        this builder for use in a chained invocation
      • br

        public final ImmutableQuantifiedBasePair.Builder br​(BR br)
        Initializes the value for the br attribute.

        If not set, this attribute will have a default value as returned by the initializer of br.

        Parameters:
        br - The value for br
        Returns:
        this builder for use in a chained invocation
      • isRepresented

        public final ImmutableQuantifiedBasePair.Builder isRepresented​(boolean isRepresented)
        Initializes the value for the isRepresented attribute.

        If not set, this attribute will have a default value as returned by the initializer of isRepresented.

        Parameters:
        isRepresented - The value for isRepresented
        Returns:
        this builder for use in a chained invocation
      • shear

        public final ImmutableQuantifiedBasePair.Builder shear​(double shear)
        Initializes the value for the shear attribute.
        Parameters:
        shear - The value for shear
        Returns:
        this builder for use in a chained invocation
      • stretch

        public final ImmutableQuantifiedBasePair.Builder stretch​(double stretch)
        Initializes the value for the stretch attribute.
        Parameters:
        stretch - The value for stretch
        Returns:
        this builder for use in a chained invocation
      • stagger

        public final ImmutableQuantifiedBasePair.Builder stagger​(double stagger)
        Initializes the value for the stagger attribute.
        Parameters:
        stagger - The value for stagger
        Returns:
        this builder for use in a chained invocation
      • buckle

        public final ImmutableQuantifiedBasePair.Builder buckle​(double buckle)
        Initializes the value for the buckle attribute.
        Parameters:
        buckle - The value for buckle
        Returns:
        this builder for use in a chained invocation
      • propeller

        public final ImmutableQuantifiedBasePair.Builder propeller​(double propeller)
        Initializes the value for the propeller attribute.
        Parameters:
        propeller - The value for propeller
        Returns:
        this builder for use in a chained invocation
      • opening

        public final ImmutableQuantifiedBasePair.Builder opening​(double opening)
        Initializes the value for the opening attribute.
        Parameters:
        opening - The value for opening
        Returns:
        this builder for use in a chained invocation