Class ParallelConsumer.Tuple<L,R>

java.lang.Object
io.confluent.parallelconsumer.ParallelConsumer.Tuple<L,R>
Type Parameters:
L -
R -
Enclosing interface:
ParallelConsumer<K,V>

public static class ParallelConsumer.Tuple<L,R> extends Object
A simple tuple structure.
  • Constructor Details

    • Tuple

      public Tuple(L left, R right)
  • Method Details

    • pairOf

      public static <LL, RR> ParallelConsumer.Tuple<LL,RR> pairOf(LL l, RR r)
    • getLeft

      public L getLeft()
    • getRight

      public R getRight()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object