Package ghidra.program.database.mem
Class ByteSourceRangeList
- java.lang.Object
-
- ghidra.program.database.mem.ByteSourceRangeList
-
- All Implemented Interfaces:
java.lang.Iterable<ByteSourceRange>
public class ByteSourceRangeList extends java.lang.Object implements java.lang.Iterable<ByteSourceRange>
-
-
Constructor Summary
Constructors Constructor Description ByteSourceRangeList()
ByteSourceRangeList(ByteSourceRange bsRange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ByteSourceRange range)
void
add(ByteSourceRangeList byteSourceList)
boolean
equals(java.lang.Object obj)
ByteSourceRange
get(int i)
java.util.Set<MemoryBlock>
getOverlappingBlocks()
int
getRangeCount()
int
hashCode()
ByteSourceRangeList
intersect(ByteSourceRangeList rangeList)
boolean
isEmpty()
java.util.Iterator<ByteSourceRange>
iterator()
-
-
-
Constructor Detail
-
ByteSourceRangeList
public ByteSourceRangeList(ByteSourceRange bsRange)
-
ByteSourceRangeList
public ByteSourceRangeList()
-
-
Method Detail
-
iterator
public java.util.Iterator<ByteSourceRange> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<ByteSourceRange>
-
add
public void add(ByteSourceRange range)
-
add
public void add(ByteSourceRangeList byteSourceList)
-
getRangeCount
public int getRangeCount()
-
get
public ByteSourceRange get(int i)
-
isEmpty
public boolean isEmpty()
-
getOverlappingBlocks
public java.util.Set<MemoryBlock> getOverlappingBlocks()
-
intersect
public ByteSourceRangeList intersect(ByteSourceRangeList rangeList)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-