Numeros Negativos Java aléatoire

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