physics3d
Class Vect3Pair

java.lang.Object
  extended by physics3d.Vect3Pair

public class Vect3Pair
extends Object

Vect3Pair is a simple immutable record type representing a pair of Vect3s.

See Also:
Vect3

Field Summary
 Vect3 v1
           
 Vect3 v2
           
 
Constructor Summary
Vect3Pair(Vect3 v1, Vect3 v2)
          Creates a VectPair with v1 and v2 as given
 
Method Summary
 boolean equals(Object o)
           
 boolean equals(Vect3Pair p)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

v1

public final Vect3 v1

v2

public final Vect3 v2
Constructor Detail

Vect3Pair

public Vect3Pair(Vect3 v1,
                 Vect3 v2)
Creates a VectPair with v1 and v2 as given

Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

equals

public boolean equals(Vect3Pair p)

hashCode

public int hashCode()
Overrides:
hashCode in class Object