Java Operator Precedence Comparison

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-04-30T03:55:06Z Indexed on 2010/04/30 4:07 UTC
Read the original article Hit count: 288

Filed under:

Does java have a built-in method to compare precedence of two operators? For example, if I have a char '/' and a char '+' is there a method I can call that compares the two and returns true/false if the first is greater than the second (e.g. true)?

© Stack Overflow or respective owner

Related posts about java