There are many, many features Java could have had. Language design is a continuous series of trade-offs between utility and complexity. Put in too many features, and the language becomes hard to learn and implement.
Obviously, one can have a long that has only a few possible values, so that it is reasonable to use it as a switch expression, but that is unusual. Mainly, long is used when there are too many values for int, and so far too many values for a switch expression.
One solution is a Map that maps the values of the long you would like to use to a small set of Integer values:
import java.util.HashMap;
import java.util.Map;
public class Test {
public static void main(String[] args) {
final int ONE_CASE = 3;
final int ANOTHER_CASE = 4;
Map<Long, Integer> map = new HashMap<Long, Integer>();
map.put((long) 1e10, ONE_CASE);
map.put((long) 1e11, ANOTHER_CASE);
long arg1 = (long) 1e11;
switch (map.get(arg1)) {
case 3:
System.out.println("ONE_CASE");
break;
case 4:
System.out.println("ANOTHER_CASE");
break;
}
}
}