The same, Java can use Kotlin's `Pair`. If you mea...
# getting-started
d
The same, Java can use Kotlin's
Pair
. If you mean in pure Java, you'd probably have to write your own
Pair
class or use an existing one (e.g. from Apache Commons Lang or
AbstractMap.SimpleEntry
).