Is there a **simple** lambda example?

Oh , I had no idea.
That cleaned up a stranger warning during startup for me.

The easiest (and most usefull) example I could imagine is the following:
protected static Comparator STRING_COMPARATOR = [String s1, String s2 |
if(s1==s2){return 0;}
else if (s1 === null ){return -1;}
else if (s2 === null ){return 1;}
else return s1.compareTo(s2);
];
I decided to keep the type Comparator<String> to make it more clear.