Package ghidra.program.model.data
Class CompositeInternal.ComponentComparator
java.lang.Object
ghidra.program.model.data.CompositeInternal.ComponentComparator
- All Implemented Interfaces:
Comparator<DataTypeComponent>
- Enclosing interface:
CompositeInternal
public static class CompositeInternal.ComponentComparator
extends Object
implements Comparator<DataTypeComponent>
ComponentComparator
provides ability to compare two DataTypeComponent objects
based upon their ordinal. Intended to be used to sort components based upon ordinal.-
Field Summary
-
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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ComponentComparator
public ComponentComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<DataTypeComponent>
-