Class Pair.And

  • Enclosing class:
    Pair<F,​S>

    public static class Pair.And
    extends Object
    Enables the: first and second syntax for Pair, which is particularly useful with the Map#mapOf extension method.
    Map<String,Integer> map = Map.mapOf("Moe" and 77, "Larry" and 88, "Curly" and 99);