Class LayoutRowComparator
- java.lang.Object
-
- org.nuxeo.ecm.platform.forms.layout.api.impl.LayoutRowComparator
-
- All Implemented Interfaces:
Comparator<LayoutRow>
public class LayoutRowComparator extends Object implements Comparator<LayoutRow>
Compares selected row instances to order them in the same order that given by the input list of row names.- Author:
- Anahide Tchertchian
-
-
Constructor Summary
Constructors Constructor Description LayoutRowComparator(List<String> rowNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(LayoutRow o1, LayoutRow 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
-
-