public boolean equals(Object o){
  if (o instanceof CoverageCharVdt) {
    CoverageCharVdt civ=(CoverageCharVdt)o;
    return ((attribute == civ.attribute) && (value == civ.value));
  }
 else {
    return false;
  }
}

public boolean equals ( Object o ) { if ( o instanceof CoverageCharVdt ) { CoverageCharVdt civ = ( CoverageCharVdt ) o ; return ( ( attribute == civ . attribute ) && ( value == civ . value ) ) ; } else { return false ; } }
override the equals method . two coverageintvdts are equal if and only iff their respective attribute and value members are equal .
