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 elementB- type of the second element
- All Implemented Interfaces:
Consumer<A>
- Enclosing interface:
Internals
A box of two elements with special equality semantics: only the second element matters for equality.
-
Field Summary
FieldsFields inherited from class Internals.Box
a -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()(package private) static <T> Internals.PairBox<T, T> single(T a) Methods inherited from class Internals.Box
accept, asOptional, partialCollector
-
Field Details
-
b
B b
-
-
Constructor Details
-
PairBox
-
-
Method Details
-
single
-
hashCode
-
equals
-