Class Rgb

    • Constructor Detail

      • Rgb

        public Rgb()
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Overrides the Object.equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.
      • getBlue

        public Blue getBlue()
        Returns the value of field 'blue'.
        Returns:
        the value of field 'Blue'.
      • getGreen

        public Green getGreen()
        Returns the value of field 'green'.
        Returns:
        the value of field 'Green'.
      • getRed

        public Red getRed()
        Returns the value of field 'red'.
        Returns:
        the value of field 'Red'.
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for the object.
      • setBlue

        public void setBlue​(Blue blue)
        Sets the value of field 'blue'.
        Parameters:
        blue - the value of field 'blue'.
      • setGreen

        public void setGreen​(Green green)
        Sets the value of field 'green'.
        Parameters:
        green - the value of field 'green'.
      • setRed

        public void setRed​(Red red)
        Sets the value of field 'red'.
        Parameters:
        red - the value of field 'red'.