how to define constant list in java code example
Example: how to declare list of object in java as constant
public static final List<String> list = Collections.unmodifiableList(
new ArrayList<String>() {{
add("foo");
add("bar");
// etc
}});