Skip to content

Instantly share code, notes, and snippets.

@adamv
Created May 18, 2016 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamv/deaa7d6bc96408ae3db51630e042f2a8 to your computer and use it in GitHub Desktop.
Save adamv/deaa7d6bc96408ae3db51630e042f2a8 to your computer and use it in GitHub Desktop.
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