|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.apitools.comparisonandsorting.Sortable
public abstract class Sortable
Abstract base class for sortable objects like punkt object. Adds a natural ordering to those objects and allows to change what to sort for.
PirolPoint| Field Summary | |
|---|---|
protected int |
sortFor
|
| Constructor Summary | |
|---|---|
Sortable()
|
|
| Method Summary | |
|---|---|
abstract int |
compareTo(java.lang.Object arg0)
|
abstract int |
getSortFor()
|
abstract void |
setSortFor(int sortFor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int sortFor
| Constructor Detail |
|---|
public Sortable()
| Method Detail |
|---|
public abstract int getSortFor()
public abstract void setSortFor(int sortFor)
public abstract int compareTo(java.lang.Object arg0)
compareTo in interface java.lang.Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||