Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * java.util.Objects
- */
- public static <T> T requireNonNull(T obj) {
- if (obj == null) {
- throw new NullPointerException();
- }
- return obj;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement