org.biojava.spice.feature
Class FeatureMapComparator

java.lang.Object
  extended byorg.biojava.spice.feature.FeatureMapComparator
All Implemented Interfaces:
Comparator

public class FeatureMapComparator
extends Object
implements Comparator

a comparator to sort Features if they are still in a Map ( sorts by type )

Author:
Andreas Prlic

Constructor Summary
FeatureMapComparator()
           
 
Method Summary
 int compare(Object a, Object b)
           
 boolean isSecstruc(String type)
           
 
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

FeatureMapComparator

public FeatureMapComparator()
Method Detail

compare

public int compare(Object a,
                   Object b)
Specified by:
compare in interface Comparator

isSecstruc

public boolean isSecstruc(String type)