Class Rgb

  • All Implemented Interfaces:
    java.io.Serializable

    public class Rgb
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Rgb()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Overrides the Object.equals method.
      Blue getBlue()
      Returns the value of field 'blue'.
      Green getGreen()
      Returns the value of field 'green'.
      Red getRed()
      Returns the value of field 'red'.
      int hashCode()
      Method hashCode.
      void setBlue​(Blue blue)
      Sets the value of field 'blue'.
      void setGreen​(Green green)
      Sets the value of field 'green'.
      void setRed​(Red red)
      Sets the value of field 'red'.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Rgb

        public Rgb()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides the Object.equals method.
        Overrides:
        equals in class java.lang.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 java.lang.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'.