how to write a fast if in java code example Example: one line if statement java statement ? true : false