Created
May 18, 2016 04:28
-
-
Save adamv/deaa7d6bc96408ae3db51630e042f2a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package codenotes.model; | |
import javax.annotation.Nullable; | |
public class Data { | |
private String name; | |
public Data(@Nullable String name) { | |
this.name = name; | |
} | |
public boolean isSame(String name) { | |
return this.name.equals(name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment