Documentation of 'jsat.utils.PairedReturn' Java class
PairedReturn
jsat.utils

Class PairedReturn<T,V>



  • public class PairedReturn<T,V>
    extends java.lang.Object
    Utility 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
      T getFirstItem()
      Returns the first object stored.
      V getSecondItem()
      Returns the second object stored
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PairedReturn

        public PairedReturn(T t,
                            V v)
    • 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:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.