|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IDirectionalComparator
public class IDirectionalComparator
A class to define order of IVec in a specified direction to be used in sorting with ISort.
ISort| Field Summary | |
|---|---|
IVec |
dir
|
| Constructor Summary | |
|---|---|
IDirectionalComparator(IVec dir)
|
|
| Method Summary | |
|---|---|
int |
compare(IVec v1,
IVec v2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public IVec dir
| Constructor Detail |
|---|
public IDirectionalComparator(IVec dir)
| Method Detail |
|---|
public int compare(IVec v1,
IVec v2)
compare in interface IComparator<IVec>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||