Class SMFMemoryMeshFilterCheckConfiguration

    • Method Detail

      • withName

        public final SMFMemoryMeshFilterCheckConfiguration withName​(SMFAttributeName value)
        Copy the current immutable object by setting a value for the name attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for name
        Returns:
        A modified copy of the this object
      • withComponentType

        public final SMFMemoryMeshFilterCheckConfiguration withComponentType​(java.util.Optional<? extends SMFComponentType> optional)
        Copy the current immutable object by setting an optional value for the componentType attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for componentType
        Returns:
        A modified copy of this object
      • withComponentCount

        public final SMFMemoryMeshFilterCheckConfiguration withComponentCount​(int value)
        Copy the current immutable object by setting a present value for the optional componentCount attribute.
        Parameters:
        value - The value for componentCount
        Returns:
        A modified copy of this object
      • withComponentCount

        public final SMFMemoryMeshFilterCheckConfiguration withComponentCount​(java.util.OptionalInt optional)
        Copy the current immutable object by setting an optional value for the componentCount attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for componentCount
        Returns:
        A modified copy of this object
      • withComponentSize

        public final SMFMemoryMeshFilterCheckConfiguration withComponentSize​(int value)
        Copy the current immutable object by setting a present value for the optional componentSize attribute.
        Parameters:
        value - The value for componentSize
        Returns:
        A modified copy of this object
      • withComponentSize

        public final SMFMemoryMeshFilterCheckConfiguration withComponentSize​(java.util.OptionalInt optional)
        Copy the current immutable object by setting an optional value for the componentSize attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for componentSize
        Returns:
        A modified copy of this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of SMFMemoryMeshFilterCheckConfiguration that have equal attribute values.
        Overrides:
        equals in class java.lang.Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: name, componentType, componentCount, componentSize.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

        public java.lang.String toString()
        Prints the immutable value SMFMemoryMeshFilterCheckConfiguration with attribute values.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the value
      • of

        public static SMFMemoryMeshFilterCheckConfiguration of​(SMFAttributeName name,
                                                               java.util.Optional<? extends SMFComponentType> componentType,
                                                               java.util.OptionalInt componentCount,
                                                               java.util.OptionalInt componentSize)
        Construct a new immutable SMFMemoryMeshFilterCheckConfiguration instance.
        Parameters:
        name - The value for the name attribute
        componentType - The value for the componentType attribute
        componentCount - The value for the componentCount attribute
        componentSize - The value for the componentSize attribute
        Returns:
        An immutable SMFMemoryMeshFilterCheckConfiguration instance