Class PiMeterBand


  • @Beta
    public final class PiMeterBand
    extends java.lang.Object
    Represents a band used within a meter.
    • Constructor Summary

      Constructors 
      Constructor Description
      PiMeterBand​(long rate, long burst)
      Creates a band with rate and burst.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PiMeterBand

        public PiMeterBand​(long rate,
                           long burst)
        Creates a band with rate and burst.
        Parameters:
        rate - rate of this band
        burst - burst of this band
    • Method Detail

      • rate

        public long rate()
        Returns the rate of this band.
        Returns:
        rate of this band
      • burst

        public long burst()
        Returns the burst of this band.
        Returns:
        burst of this band
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object