Retrieves a flag @see Flags
(int bit)
| 129 | * @see Flags |
| 130 | */ |
| 131 | public boolean |
| 132 | getFlag(int bit) { |
| 133 | checkFlag(bit); |
| 134 | // bits are indexed from left to right |
| 135 | return (flags & (1 << (15 - bit))) != 0; |
| 136 | } |
| 137 | |
| 138 | boolean [] |
| 139 | getFlags() { |
no test coverage detected