Class Tuple<A,B>

java.lang.Object
edu.pdx.cs410J.j2se15.Tuple<A,B>

public final class Tuple<A,B> extends Object
A tuple class that holds two generic values. Demonstrates how multiple values can be returned from a method in a type-safe manner using Java generics.
Since:
Summer 2005
Author:
David Whitlock
See Also:
  • Constructor Details

    • Tuple

      public Tuple(A first, B second)
  • Method Details