Class Pair.And

java.lang.Object
manifold.rt.api.util.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);
  • Method Details

    • instance

      public static Pair.And instance()
    • postfixBind

      public <F> Pair.And.First<F> postfixBind(F first)