Class Pair<F,S>

java.lang.Object
fr.istic.aco.editor.core.Pair<F,S>
Type Parameters:
F - The type of the first object.
S - The type of the second object.

public class Pair<F,S> extends Object
A generic Pair class that holds two related objects, one of type F (first) and the other of type S (second). This class provides a simple way to store two objects together as a pair.
  • Constructor Details

    • Pair

      public Pair(F first, S second)
  • Method Details

    • getFirst

      public F getFirst()
    • getSecond

      public S getSecond()