goldmansachs / gs-collections

GS Collections has been migrated to the Eclipse Foundation, re-branded as Eclipse Collections. https://www.eclipse.org/collections/
https://www.eclipse.org/collections/
1.81k stars 275 forks source link

Unclear what Java version is required #18

Closed fge closed 9 years ago

fge commented 10 years ago

Disclaimer: I didn't even have a peek at the code yet. However...

Examples in the readme seem to imply that Java 8 is required, since lambdas are used.

But when referring to this:

https://github.com/goldmansachs/gs-collections/blob/master/pom.xml#L337

it looks like the only requirement is Java 5; what is more, the maven-compiler-plugin configuration does not specify a version.

So, what is what?

yilinwei commented 9 years ago

You can use GS Collections with anonymous inner classes in place of lambdas pre Java 8.