Skip to content

Conversation

jnquintino
Copy link

No description provided.

private static final Map<Integer, Keyboard> map = Arrays.stream(Keyboard.values())
.collect(Collectors.toMap(Keyboard::getValue, Function.identity()));

private static final Map<Integer, Keyboard> map =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boa Tarde,
Objetos devem trocar mensagens.
O objetivo é uso de POO, o uso de programação funcional atrapalha na coesão.

Att.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants