Exemple #1
0
        /** {@inheritDoc} */
        public Boolean equals(Object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (this == obj)
            {
                return(true);
            }

            if (obj is QQGroup)
            {
                QQGroup g = (QQGroup)obj;
                if (g.getCode() == this.getCode())
                {
                    return(true);
                }
            }
            return(false);
        }
Exemple #2
0
 /**
  * <p>Setter for the field <code>group</code>.</p>
  *
  * @param group a {@link iqq.im.bean.QQGroup} object.
  */
 public void setGroup(QQGroup group)
 {
     this.group = group;
 }