com.mizar.metadata.db.basemap
Class BasemapBeanOverlapComparator

java.lang.Object
  extended by com.mizar.metadata.db.basemap.BasemapBeanOverlapComparator
All Implemented Interfaces:
java.util.Comparator<BasemapBean>

public class BasemapBeanOverlapComparator
extends java.lang.Object
implements java.util.Comparator<BasemapBean>


Constructor Summary
BasemapBeanOverlapComparator()
           
 
Method Summary
 int compare(BasemapBean bean1, BasemapBean bean2)
           
 double getOverlapTolerance()
           
 boolean isOverlapPriority()
           
 void setOverlapPriority(boolean overlapPriority)
           
 void setOverlapTolerance(double overlapTolerance)
           
 
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

BasemapBeanOverlapComparator

public BasemapBeanOverlapComparator()
Method Detail

compare

public int compare(BasemapBean bean1,
                   BasemapBean bean2)
Specified by:
compare in interface java.util.Comparator<BasemapBean>

setOverlapTolerance

public void setOverlapTolerance(double overlapTolerance)

getOverlapTolerance

public double getOverlapTolerance()

setOverlapPriority

public void setOverlapPriority(boolean overlapPriority)

isOverlapPriority

public boolean isOverlapPriority()