Package com.jackmeng.locale
Class Trio<T,E,M>
java.lang.Object
com.jackmeng.locale.Pair<T,E>
com.jackmeng.locale.Trio<T,E,M>
A rarely used data structure class that holds
3 generic objects. It extends a pair class.
- Since:
- 3.0
- Author:
- Jack Meng
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jackmeng.locale.Pair
getFirst, getHashCode, getSecond
-
Field Details
-
third
-
-
Constructor Details
-
Trio
Constructs a trio with the given first and second elements and third elements- Parameters:
first
- The first element which will be found in a Pair data structuresecond
- The second element which will also be supered to the extended Pair classthird
- The third element which is held by this child class
-