daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest May 16th, 2018 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public boolean equals(Asset other){
  2.         if((this.area == other.area) && (this.content == other.content)) {
  3.             return true;
  4.         }
  5.        
  6.         if (!(other instanceof Asset)) {
  7.             return false;
  8.         }
  9.         Asset asset = (Asset) other;
  10.        
  11.         return(asset.area.equals(this.area) && this.content == asset.content);
  12.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top