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