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
Fields -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptionintcompare(DataTypeComponent dtc1, DataTypeComponent dtc2) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ComponentComparator
public ComponentComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<DataTypeComponent>
-