vec_math
Class VectorG.LengthComparator

java.lang.Object
  extended by vec_math.VectorG.LengthComparator
All Implemented Interfaces:
Comparator<VectorG>
Enclosing class:
VectorG

public static class VectorG.LengthComparator
extends Object
implements Comparator<VectorG>

Compares the length of two vectors.


Constructor Summary
VectorG.LengthComparator()
           
 
Method Summary
 int compare(VectorG v1, VectorG v2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

VectorG.LengthComparator

public VectorG.LengthComparator()
Method Detail

compare

public int compare(VectorG v1,
                   VectorG v2)
Specified by:
compare in interface Comparator<VectorG>