Package net.fortuna.ical4j.model
Class ComponentSequenceComparator
- java.lang.Object
-
- net.fortuna.ical4j.model.ComponentSequenceComparator
-
- All Implemented Interfaces:
Comparator<Component>
public class ComponentSequenceComparator extends Object implements Comparator<Component>
A comparator to determine natural ordering of component instances based on sequence information. See RFC5446 - Message Sequencing for further details.
-
-
Constructor Summary
Constructors Constructor Description ComponentSequenceComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Component o1, Component o2)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Component o1, Component o2)
- Specified by:
compare
in interfaceComparator<Component>
-
-