aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/experimental/UtilityClassExample_post.jpage
blob: ad6cf58322455e463abc824e301026d3eed2bb35 (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 int addSomething(int in) {
		return in + CONSTANT;
	}
}