Package ghidra.util
Enum Class TwoWayBreakdownAddressRangeIterator.Which
java.lang.Object
java.lang.Enum<TwoWayBreakdownAddressRangeIterator.Which>
ghidra.util.TwoWayBreakdownAddressRangeIterator.Which
- All Implemented Interfaces:
Serializable,Comparable<TwoWayBreakdownAddressRangeIterator.Which>,Constable
- Enclosing class:
TwoWayBreakdownAddressRangeIterator
public static enum TwoWayBreakdownAddressRangeIterator.Which
extends Enum<TwoWayBreakdownAddressRangeIterator.Which>
Indicates which of the input iterators contain a range
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanIndicates the the left iterator includes this rangefinal booleanIndicates that the right iterator includes this range -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this range is included in the intersection:left ∩ rightbooleanCheck if this range is included in the difference:left - rightbooleaninXor()Check if this range is included in the symmetric difference:left Δ rightReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
Only the left included the range -
RIGHT
Only the right included the range -
BOTH
Both included the range
-
-
Field Details
-
includesLeft
public final boolean includesLeftIndicates the the left iterator includes this range -
includesRight
public final boolean includesRightIndicates that the right iterator includes this range
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
inSubtract
public boolean inSubtract()Check if this range is included in the difference:left - right- Returns:
- true if included
-
inXor
public boolean inXor()Check if this range is included in the symmetric difference:left Δ right- Returns:
- true if included
-
inIntersect
public boolean inIntersect()Check if this range is included in the intersection:left ∩ right- Returns:
- true if included
-