Class StructElementComparator
java.lang.Object
io.goobi.viewer.model.iiif.presentation.v3.builder.StructElementComparator
- All Implemented Interfaces:
Comparator<StructElement>
Sorts StructElements by anchors first, then works, then everything else within anchors and works, elements are sorted by PI, all other elements are
sorted by LOGID
- Author:
- Florian Alpers
-
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
-
StructElementComparator
public StructElementComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<StructElement>
-