Package org.jgroups.util
Class Tuple<V1,V2>
- java.lang.Object
-
- org.jgroups.util.Tuple<V1,V2>
-
public class Tuple<V1,V2> extends java.lang.ObjectHolds 2 values, useful when we have a map with a key, but more than 1 value and we don't want to create a separate holder object for the values, and don't want to pass the values as a list or array.- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1getVal1()V2getVal2()java.lang.StringtoString()
-