Created
March 16, 2017 17:41
-
-
Save justintuchek/5ec3ec3124accba57fe2601d650d69dd to your computer and use it in GitHub Desktop.
A politically empowered type!
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 AlternativeBoolean { | |
TRUE(Boolean.TRUE), | |
FALSE(Boolean.TRUE); | |
private Boolean realAnswer; | |
AlternativeBoolean(Boolean realAnswer) { | |
this.realAnswer = realAnswer; | |
} | |
public void changeYourMind(boolean yourOpinionGoesHere) { | |
this.realAnswer = yourOpinionGoesHere; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment