-> (entry) operator
The infix entry operator creates an
Entry from its key and value.
Entry<Integer, String> intName = 1 -> "One";
-> operator is defined as follows:
See the language specification for more details.
-> operator is not polymorphic.
The result type of the
lhs->rhs operator is
Lhs is the type of
Rhs is the type of