Class Pair<T,​U>

  • All Implemented Interfaces:
    Serializable

    public class Pair<T,​U>
    extends Object
    implements Serializable
    Utility class used to pair two objects.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    See Also:
    Serialized Form
    • Constructor Detail

      • Pair

        public Pair​(T o1,
                    U o2)
        Create a pair instance.
        Parameters:
        o1 - the first member of the pair
        o2 - the second member of the pair