Documentation of 'org.jzy3d.maths.Pair' Java class
Pair
org.jzy3d.maths

Class Pair<X,Y>

  • All Implemented Interfaces:
    java.io.Serializable


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

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      int hashCode() 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • a

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

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

      • 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 Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.