L - type of the left element.M - type of the middle element.public static class ComparableTriple.FinalBuilder<L,M> extends Object
pattern builder intended to be used
to create ComparableTriples with custom combination of
comparable and non comparable values.
This builder implements the final step of setting the
right value and creating the ComparableTriple.
| Modifier | Constructor and Description |
|---|---|
protected |
FinalBuilder(L left,
Comparator<L> leftComparator,
M middle,
Comparator<M> middleComparator)
Constructor with parameters.
|
protected FinalBuilder(L left, Comparator<L> leftComparator, M middle, Comparator<M> middleComparator)
This constructor is intended to be used internaly of by extending classes.
left - the left element of the triple.leftComparator - the Comparator for the left element.middle - the middle element of the triple.middleComparator - the Comparator for the middle element.Copyright © 2011–2020 Nerd4j. All rights reserved.