Class Tuple<F,S>

java.lang.Object
com.github.skopylov58.functional.Tuple<F,S>
Type Parameters:
F - type of first object
S - type of second object
Direct Known Subclasses:
Tuple3

public class Tuple<F,S> extends Object
Container for pair (first, second) objects.
  • Field Details

    • first

      public final F first
    • second

      public final S second
  • Constructor Details

    • Tuple

      public Tuple(F first, S second)
      Constructor.
      Parameters:
      first - first object
      second - second object
  • Method Details