Created
February 25, 2016 15:10
-
-
Save enrichman/6e03fb1488e14e944343 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
public enum Feature { | |
A("nameA", "urlA.com"), | |
B("nameB", "urlB.com"); | |
private String name; | |
private String url; | |
Feature(String name, String url) { | |
this.name = name; | |
this.url = url; | |
} | |
// getter,setter | |
// from name constructor | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment