I have been working with Java a couple of years, but up until recently I haven\'t run across this construct:
int count = isHere ? getHereCount(index) : getAw
It's the conditional operator, and it's more than just a concise way of writing if statements.
Since it is an expression that returns a value it can be used as part of other expressions.