java initialize a constant list 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
}});