Class Pair<X,Y>

java.lang.Object
org.jzy3d.maths.Pair<X,Y>
All Implemented Interfaces:
Serializable

public class Pair<X,Y> extends Object implements Serializable
Class Pair. Represents a mathematical pair of objects (a, b).
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final X
    a in the pair (a, b)
    final Y
    b in the pair (a, b)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pair(X a, Y b)
    Construct a Pair(a, b)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • a

      public final X a
      a in the pair (a, b)
    • b

      public final Y b
      b in the pair (a, b)
  • Constructor Details

    • Pair

      public Pair(X a, Y b)
      Construct a Pair(a, b)
      Parameters:
      a - a in the pair (a, b)
      b - b in the pair (a, b)
  • Method Details