java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.collect.IntegerSegment |
Standard implementation of a segment using an integer treated as a signed value. Immutable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IntegerSegment(int address, int size) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | compareTo(IntegerSegment second) | ||||||||||
boolean | equals(Object obj) | ||||||||||
Integer |
getBegin()
Get the address where the segment starts.
| ||||||||||
Integer |
getEnd()
Get the address where the segment ends (exclusive).
| ||||||||||
int | getSize() | ||||||||||
int | hashCode() | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.util.collect.ISegment
| |||||||||||
From interface
java.lang.Comparable
|
Get the address where the segment starts.
Get the address where the segment ends (exclusive).