@Override
 public int hashCode() {
   int hash = super.hashCode();
   hash = LangUtils.hashCode(hash, media_);
   hash = LangUtils.hashCode(hash, cssRules_);
   return hash;
 }
 @Override
 public boolean equals(final Object obj) {
   if (this == obj) {
     return true;
   }
   if (!(obj instanceof CSSMediaRule)) {
     return false;
   }
   final CSSMediaRule cmr = (CSSMediaRule) obj;
   return super.equals(obj)
       && LangUtils.equals(getMedia(), cmr.getMedia())
       && LangUtils.equals(getCssRules(), cmr.getCssRules());
 }
 private boolean equalsMedia(final MediaList ml) {
   if ((ml == null) || (getLength() != ml.getLength())) {
     return false;
   }
   for (int i = 0; i < getLength(); i++) {
     final String m1 = item(i);
     final String m2 = ml.item(i);
     if (!LangUtils.equals(m1, m2)) {
       return false;
     }
   }
   return true;
 }