com.vividsolutions.jump.feature
Class FeatureUtil.IDComparator

java.lang.Object
  extended by com.vividsolutions.jump.feature.FeatureUtil.IDComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
FeatureUtil

public static class FeatureUtil.IDComparator
extends java.lang.Object
implements java.util.Comparator

Compares two Features for order based on their feature ID.

See Also:
Feature.getID()

Constructor Summary
FeatureUtil.IDComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

FeatureUtil.IDComparator

public FeatureUtil.IDComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator