|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lastbamboo.common.download.RateSegmentImpl
public final class RateSegmentImpl
An implementation of the rate segment interface.
| Constructor Summary | |
|---|---|
RateSegmentImpl(long start,
long duration,
long size)
Constructs a new segment. |
|
| Method Summary | |
|---|---|
long |
getDuration()
Returns the duration. |
long |
getSize()
Returns the size. |
long |
getStart()
Returns the start time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RateSegmentImpl(long start,
long duration,
long size)
start - The start time of this segment.duration - The duraction of this segment.size - The size of this segment.| Method Detail |
|---|
public long getDuration()
getDuration in interface RateSegmentpublic long getSize()
getSize in interface RateSegmentpublic long getStart()
getStart in interface RateSegment
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||