Write your own functional interface called TernaryIntPredicate and use it with a lambda expression. The interface must have a single non-static (and non-default) method called test that accepts three int arguments and returns a boolean value.
Also, write a lambda expression of the TernaryIntPredicate type with three int arguments.
The lambda expression should return true if all passed values are different, otherwise it should return false. The expression should be assigned to a static field named ALL_DIFFERENT.
There is a template to be used for your solution. Please, do not change it.