Class POEComparator
java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POEComparator
- All Implemented Interfaces:
Serializable,Comparator<POE>
public class POEComparator extends Object implements Comparator<POE>, Serializable
The class compares two
POE instances, by its production time, origin and covered context
The class returns the following values:
-1 if the poe1 is preferred over poe2
0 of the POEs are equal
1 if the poe2 is preferred over poe1- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description POEComparator() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
POEComparator
public POEComparator()
-
-
Method Details