Files
lombok/usage_examples/experimental/UtilityClassExample_post.jpage
T
2015-02-02 04:52:20 +01:00

12 lines
298 B
Plaintext

public final class UtilityClassExample {
private static final int CONSTANT = 5;
private UtilityClassExample() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
public static void addSomething(int in) {
return in + CONSTANT;
}
}