Created
January 16, 2018 18:24
-
-
Save ThangLeQuoc/6970dce63dbc7860bbb0732f12726a95 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 com.thanglequoc.decorator.starbuzz; | |
public enum BeverageSize { | |
SMALL("Small"), | |
MEDIUM("Medium"), | |
LARGE("Large"); | |
private String literal; | |
BeverageSize(String literal){ | |
this.literal = literal; | |
} | |
public String getLiteral(){ | |
return literal; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment