Class SMFAttributeArrayIntegerSigned4

    • Method Detail

      • withValues

        public final SMFAttributeArrayIntegerSigned4 withValues​(com.io7m.jtensors.core.unparameterized.vectors.Vector4L... elements)
        Copy the current immutable object with elements that replace the content of values.
        Parameters:
        elements - The elements to set
        Returns:
        A modified copy of this object
      • withValues

        public final SMFAttributeArrayIntegerSigned4 withValues​(java.lang.Iterable<? extends com.io7m.jtensors.core.unparameterized.vectors.Vector4L> elements)
        Copy the current immutable object with elements that replace the content of values. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of values elements to set
        Returns:
        A modified copy of this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of SMFAttributeArrayIntegerSigned4 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: values.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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

        public static SMFAttributeArrayIntegerSigned4 of​(java.util.List<com.io7m.jtensors.core.unparameterized.vectors.Vector4L> values)
        Construct a new immutable SMFAttributeArrayIntegerSigned4 instance.
        Parameters:
        values - The value for the values attribute
        Returns:
        An immutable SMFAttributeArrayIntegerSigned4 instance
      • of

        public static SMFAttributeArrayIntegerSigned4 of​(java.lang.Iterable<? extends com.io7m.jtensors.core.unparameterized.vectors.Vector4L> values)
        Construct a new immutable SMFAttributeArrayIntegerSigned4 instance.
        Parameters:
        values - The value for the values attribute
        Returns:
        An immutable SMFAttributeArrayIntegerSigned4 instance