Package ai.devtools.utils
Class CollectionUtils.Tuple<K,V>
java.lang.Object
ai.devtools.utils.CollectionUtils.Tuple<K,V>
- Type Parameters:
K- The type of Object allowed for the first Object in the tuple.V- The type of Object allowed for the second Object in the tuple.
- Enclosing class:
CollectionUtils
Simple Tuple implementation. A Tuple is an immutable two-pair of values. It may consist of any two Objects, which may or may not be in of the same type.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
k
The k value of the tuple -
v
The v value of the tuple
-
-
Constructor Details
-
Tuple
Constructor, creates a new Tuple from the specified values.- Parameters:
k- The first entry in the Tuple.v- The second entry in the Tuple.
-