Package com.avoka.core.util.ver
Class VersionPropertyComparator
java.lang.Object
com.avoka.core.util.PropertyComparator
com.avoka.core.util.ver.VersionPropertyComparator
- All Implemented Interfaces:
Comparator
Provides a version property comparator that is using a version comparator to compare the property values.
Use this to sort lists by version number, e.g. a list of form versions.
- Since:
- 18.4.0
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.util.PropertyComparator
comparator, property
-
Constructor Summary
ConstructorDescriptionVersionPropertyComparator
(String property) Create a VersionPropertyComparator instance. -
Method Summary
Methods inherited from class com.avoka.core.util.PropertyComparator
compare
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
-
VersionPropertyComparator
Create a VersionPropertyComparator instance. AVersionComparator
will be used to compare the property values.- Parameters:
property
- the property (required)
-