losowe numery negativos java

long myRandomLong = (long)(Math.random() * 500 * (Math.random() > 0.5 ? 1 : -1));
Dangerous Dog