Jump to content
  • 0

ERROR STREAM COLLECTORS ACIS JAVA 7


Question

Posted

Good afternoon, I'm working on a personal project and I'm having problems adding fakeplayers to my pack, it's there, use java 7, can anyone help me find this directory?2mn3a11.png

 

 

 

Reference:

 

List<OffensiveSpell> spellsOrdered = getOffensiveSpells().stream().sorted((o1, o2) -> Integer.compare(o1.getPriority(), o2.getPriority())).collect(Collectors.toList());

4 answers to this question

Recommended Posts

  • 0
Posted
On 01/12/2018 at 19:24, Kara` said:

Não vale a pena mudar o código. Simplesmente atualize do Java7 para o java8. Ele também o ajudará no código futuro. 

 

 

On 01/12/2018 at 17:28, SweeTs said:

O Java 7 não possui recurso de fluxo. Código de retrabalho ou pacote de alterações para usar o Java 8.

 

 

 


Is there any teaching tutorial to switch to Java 8? I can not do this yet.

  • 0
Posted

Right click on project - properties - Java Build Path - libraries tab, remove the java 7 libs and "Add library" java 8. Then, Java Compiler change to java 8. Should be enough.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..