kotlin-stdlib / kotlin / Pair / <init> <init> Common JVM JS Native 1.0 Pair ( first : A , second : B ) Creates a new instance of Pair. Constructor Creates a new instance of Pair.