Last active
August 28, 2017 08:15
-
-
Save Budincsevity/9efb3fdb8b2a07722f25f73bcff6bb74 to your computer and use it in GitHub Desktop.
Utility class for Java Boolean
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 BooleanUtils { | |
private static final Random RANDOM = new Random(); | |
public boolean maybe() { | |
return RANDOM.nextBoolean(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment