Esempio n. 1
0
 @Override
 public boolean equals(final Object o) {
   if (o == this) return true;
   if (o == null || !getClass().equals(o.getClass())) return false;
   final SizeDouble rhs = (SizeDouble) o;
   return EqualsHelper.equals(m_dWidth, rhs.m_dWidth)
       && EqualsHelper.equals(m_dHeight, rhs.m_dHeight);
 }
Esempio n. 2
0
 @Override
 public boolean equals(final Object o) {
   if (o == this) return true;
   if (o == null || !getClass().equals(o.getClass())) return false;
   final CSSUnknownRule rhs = (CSSUnknownRule) o;
   return m_sDeclaration.equals(rhs.m_sDeclaration)
       && EqualsHelper.equals(m_sParameterList, rhs.m_sParameterList)
       && EqualsHelper.equals(m_sBody, rhs.m_sBody);
 }