Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. /*public boolean equals(AddressInfo addressInfo) {
  2.         if(this.getstreetNumber() == addressInfo.getstreetNumber()
  3.                 && this.getstreetName().equals(addressInfo.getstreetName())
  4.                 && this.getcity().equals(addressInfo.getcity())
  5.                 && this.getstate().equals(addressInfo.getstate())
  6.                 && this.getprovince() == addressInfo.getprovince()
  7.                 && this.getcountry().equals(addressInfo.getcountry()))
  8.             return true;
  9.         else
  10.             return false;
  11.     }
  12.     */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement