org.jzy3d.maths
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:
- Serialized Form
Field Summary |
X |
a
a in the pair (a, b) |
Y |
b
b in the pair (a, b) |
Constructor Summary |
Pair(X a,
Y b)
Construct a Pair(a, b) |
a
public final X a
- a in the pair (a, b)
b
public final Y b
- b in the pair (a, b)
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)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2013. All rights reserved.