jsat.utils
Class PairedReturn<T,V>
- java.lang.Object
-
- jsat.utils.PairedReturn<T,V>
-
public class PairedReturn<T,V> extends java.lang.ObjectUtility class that allows the returning of 2 different objects as one.
-
-
Constructor Summary
Constructors Constructor and Description PairedReturn(T t, V v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TgetFirstItem()Returns the first object stored.VgetSecondItem()Returns the second object storedjava.lang.StringtoString()
-
-
-
Method Detail
-
getFirstItem
public T getFirstItem()
Returns the first object stored.- Returns:
- the first object stored
-
getSecondItem
public V getSecondItem()
Returns the second object stored- Returns:
- the second object stored
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG