Browse Tag: java

How java 8 default method ambiguity solved

Default methods are introduced in Java 8. The main purpose of default method is to make possible evolving an existing API in compatible way. Interfaces can contain method implementation for which implementing class doesn’t need to provide implementation.

Continue Reading

MultiKey Map

Java Map interface doesn’t provide possibility to have multiple keys for single entry. Let’s see what are the possible workarounds.

Continue Reading