aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/experimental/UtilityClassExample_post.jpage
blob: 70810230362eb203472917a664237f3105867070 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
	}
}