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
condition ? truth : false;
If the condition is true then evaluate the first expression. If the condition is false, evaluate the second expression.
true
false
It is called the Conditional Operator and it is a type of Ternary Operation.