Package one.util.streamex
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 one.util.streamex.Internals.Box
a
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
(package private) static <T> Internals.PairBox
<T, T> single
(T a) Methods inherited from class one.util.streamex.Internals.Box
accept, asOptional, partialCollector