Class DescriptorComparator
java.lang.Object
com.inductiveautomation.ignition.common.beans.DescriptorComparator
- All Implemented Interfaces:
Comparator<FeatureDescriptor>
Comparator used to compare java.beans.FeatureDescriptor objects. Looks for an Integer-valued
attribute nameb DefaultBeanInfo.DISPLAY_ORDER_KEY for ordering (ascending), otherwise reverts to
the strings returned from getDisplayName are used in the comparison.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompares two FeatureDescriptor objectsMethods 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
-
DescriptorComparator
public DescriptorComparator()
-
-
Method Details
-
compare
Compares two FeatureDescriptor objects- Specified by:
comparein interfaceComparator<FeatureDescriptor>
-