Created
September 23, 2014 18:54
-
-
Save lordofthejars/6a352487612fcc05cc63 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public class Color { | |
| @ObjectId | |
| private String _id; | |
| private String name; | |
| private int r; | |
| private int g; | |
| private int b; | |
| public Color() { | |
| super(); | |
| } | |
| public Color(String name, int r, int g, int b) { | |
| super(); | |
| this.name = name; | |
| this.r = r; | |
| this.g = g; | |
| this.b = b; | |
| } | |
| // getters and setters | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment