public boolean equals(Object obj){
  if (this == obj) {
    return true;
  }
  if (obj instanceof ECFieldF2m) {
    ECFieldF2m o=(ECFieldF2m)obj;
    if (this.m == o.m) {
      if (this.rp == null) {
        if (o.rp == null) {
          return true;
        }
      }
 else {
        return Arrays.equals(this.ks,o.ks);
      }
    }
  }
  return false;
}

public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj instanceof ECFieldF2m ) { ECFieldF2m o = ( ECFieldF2m ) obj ; if ( this . m == o . m ) { if ( this . rp == null ) { if ( o . rp == null ) { return true ; } } else { return Arrays . equals ( this . ks , o . ks ) ; } } } return false ; }
returns whether the specified object equals to this finite field .
