Class PiMeterBand


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

      • PiMeterBand

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

      • type

        public PiMeterBandType type()
        Returns the type of this band.
        Returns:
        type of this band
      • 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 Object