Class Internals.PairBox<A,B>

java.lang.Object
one.util.streamex.Internals.Box<A>
one.util.streamex.Internals.PairBox<A,B>
Type Parameters:
A - type of the first element
B - type of the second element
All Implemented Interfaces:
Consumer<A>
Enclosing interface:
Internals

public static final class Internals.PairBox<A,B> extends Internals.Box<A>
A box of two elements with special equality semantics: only the second element matters for equality.
  • Field Details

    • b

      B b
  • Constructor Details

    • PairBox

      PairBox(A a, B b)
  • Method Details