Class Pairs

java.lang.Object
eu.bandm.tools.ops.Pairs

@Deprecated public abstract class Pairs extends Object
Deprecated.
Deprecated, use Tuples instead.
  • Method Details

    • pair

      public static <A, B> Pair<A,B> pair(A a, B b)
      Deprecated.
    • equal

      public static boolean equal(Pair<?,?> p, Pair<?,?> q)
      Deprecated.
    • hashCode

      public static int hashCode(Pair<?,?> p)
      Deprecated.
    • flip

      public static <A, B> Pair<B,A> flip(Pair<? extends A,? extends B> p)
      Deprecated.
    • getLeft

      public static <A, B> Function<Pair<A,B>,A> getLeft()
      Deprecated.
    • getRight

      public static <A, B> Function<Pair<A,B>,B> getRight()
      Deprecated.
    • pair

      public static <A, B> BinFunction<A,B,Pair<A,B>> pair()
      Deprecated.