0

Java 8 was released with Lambda expressions as a new language feature on March, 2014. I would think that it would be important to also update their Operator Precedence Table.

Here is the link to the table from Oracle: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html

kozmo
  • 4,024
  • 3
  • 30
  • 48
  • 2
    Perhaps because the lambda *operator* is not an **operator**, it is sort of syntactic sugar. – OldCurmudgeon Feb 06 '18 at 16:38
  • 2
    The [lambda **expression**](https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html) is implemented by an abstract class; `->` isn't an operator (it just looks like one). – Elliott Frisch Feb 06 '18 at 16:38
  • 1
    "Lambda operator" does not exist. – Sergey Kalinichenko Feb 06 '18 at 16:38
  • 2
    I'm voting to close this question as off-topic because it is based on an incorrect assumption that "lambda operator" exists. – Sergey Kalinichenko Feb 06 '18 at 16:39
  • @dasblinkenlight Mistaking the arrow syntax (`->`) for an operator isn't the worst assumption I've ever seen made. There's probably a duplicate though. Found "one". Dropping Mjölnir on it. – Elliott Frisch Feb 06 '18 at 16:42
  • Thanks guys, I did make the mistake of assuming that lambda was an operator rather than an expression. I should have read more on lambda expressions rather than posting this. – Kavin Aravind Feb 06 '18 at 16:46

0 Answers0