@Beta
public class PiMeterBand
extends java.lang.Object
| Constructor and Description |
|---|
PiMeterBand(long rate,
long burst)
Creates a band with rate and burst.
|
| Modifier and Type | Method and Description |
|---|---|
long |
burst()
Returns the burst of this band.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
long |
rate()
Returns the rate of this band.
|
java.lang.String |
toString() |
public PiMeterBand(long rate,
long burst)
rate - rate of this bandburst - burst of this bandpublic long rate()
public long burst()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object