Package org.biojava.nbio.core.sequence
Class SequenceComparator
java.lang.Object
org.biojava.nbio.core.sequence.SequenceComparator
- All Implemented Interfaces:
Serializable
,Comparator<AbstractSequence<?>>
public class SequenceComparator
extends Object
implements Comparator<AbstractSequence<?>>, Serializable
Used to sort sequences in ascending order of bioBegin property.
- Author:
- Scooter Willis
- See Also:
-
Constructor Summary
-
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SequenceComparator
public SequenceComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<AbstractSequence<?>>
-