|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.planx.io.Locator
org.planx.io.Bound
public class Bound
A Bound consists of a Locator and a length.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.planx.io.Locator |
|---|
Locator.CompactStreamer |
| Field Summary | |
|---|---|
static long |
MAX_BYTE_SIZE
|
| Constructor Summary | |
|---|---|
Bound(Locator loc,
long len)
|
|
Bound(long pos,
long len,
SourceId fsi)
|
|
| Method Summary | |
|---|---|
static SizeStreamer<Bound> |
getBoundStreamer()
Returns a Streamer capable of converting a
Bound to and from byte representation. |
boolean |
isContained(Bound l)
|
boolean |
isContained(Locator l)
|
long |
length()
Returns the length of the block specified by this Bound. |
void |
setLength(long len)
Sets the length of this bound. |
String |
toString()
|
| Methods inherited from class org.planx.io.Locator |
|---|
compareTo, equals, getDiscriminator, getStreamer, hashCode, id, location, position, setId, setPosition |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static long MAX_BYTE_SIZE
| Constructor Detail |
|---|
public Bound(long pos,
long len,
SourceId fsi)
public Bound(Locator loc,
long len)
| Method Detail |
|---|
public long length()
Bound.
public void setLength(long len)
public boolean isContained(Locator l)
public boolean isContained(Bound l)
public String toString()
toString in class Locatorpublic static SizeStreamer<Bound> getBoundStreamer()
Streamer capable of converting a
Bound to and from byte representation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||