What Java method takes an int and returns +1 or -1?
<p>What Java method takes an <code>int</code> and returns +1 or -1? The criteria for this is whether or not the <code>int</code> is positive or negative. I looked through the documentation but I'm bad at reading it and I can't find it. I know I've seen it somewhere though. </p>
