public boolean equalTo(Entry e){
  if (e == null)   return false;
  if (e.mData != this.mData)   return false;
  if (e.mXIndex != this.mXIndex)   return false;
  if (Math.abs(e.mVal - this.mVal) > 0.00001f)   return false;
  return true;
}

public boolean equalTo ( Entry e ) { if ( e == null ) return false ; if ( e . mData != this . mData ) return false ; if ( e . mXIndex != this . mXIndex ) return false ; if ( Math . abs ( e . mVal - this . mVal ) > 0.00001f ) return false ; return true ; }
compares value , xindex and data of the entries . returns true if entries are equal in those points , false if not . does not check by hash - code like it ' s done by the " equals " method .
