Package ghidra.program.model.data
Class CompositeInternal.OrdinalComparator
java.lang.Object
ghidra.program.model.data.CompositeInternal.OrdinalComparator
- All Implemented Interfaces:
Comparator<Object>
- Enclosing interface:
CompositeInternal
public static class CompositeInternal.OrdinalComparator
extends Object
implements Comparator<Object>
OrdinalComparator
provides ability to compare an Integer ordinal with a
DataTypeComponent object. The ordinal will be consider equal (0) if the component corresponds
to the specified 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
-
OrdinalComparator
public OrdinalComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Object>
-