public final class DiskRange extends Object
Constructor and Description |
---|
DiskRange(long offset,
int length) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(DiskRange diskRange) |
boolean |
equals(Object obj) |
long |
getEnd() |
int |
getLength() |
long |
getOffset() |
int |
hashCode() |
DiskRange |
span(DiskRange otherDiskRange)
Returns the minimal DiskRange that encloses both this DiskRange
and otherDiskRange.
|
String |
toString() |
public long getOffset()
public int getLength()
public long getEnd()
public boolean contains(DiskRange diskRange)
public DiskRange span(DiskRange otherDiskRange)
Copyright © 2012–2019. All rights reserved.