I have a problem with this code:
if (90 >>= angle =<< 180)
The error explanation is:
The left-hand side
You can use apache Range API. https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/Range.html