Class POEComparator
java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POEComparator
- All Implemented Interfaces:
Serializable
,Comparator<POE>
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:
-
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
-
POEComparator
public POEComparator()Default constructor
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<POE>
-
before
-