Package jadex.common

Class Tuple3<T,E,F>

java.lang.Object
jadex.common.Tuple
jadex.common.Tuple3<T,E,F>
All Implemented Interfaces:
Serializable, Cloneable

public class Tuple3<T,E,F> extends Tuple
Generic version of tuple for two elements.
See Also:
  • Constructor Details

    • Tuple3

      public Tuple3(T entity1, E entity2, F entity3)
      Convenience constructor for binary tuples.
      Parameters:
      entity1 - The first object in the tuple.
      entity2 - The second object in the tuple.
  • Method Details

    • getFirstEntity

      public T getFirstEntity()
      Get the first entity.
      Returns:
      The first entity.
    • getSecondEntity

      public E getSecondEntity()
      Get the second entity.
      Returns:
      The second entity.
    • getThirdEntity

      public F getThirdEntity()
      Get the second entity.
      Returns:
      The second entity.
    • clone

      public Object clone()
      Clone this tuple.
      Overrides:
      clone in class Tuple
      Returns:
      A shallow copy of this tuple.