Class MutableByte

java.lang.Object
com.diozero.util.MutableByte

public class MutableByte
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    MutableByte()  
    MutableByte​(byte value)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(byte b)  
    byte getValue()  
    boolean isBitSet​(byte bit)  
    void setBit​(byte bit)  
    void setBitValue​(byte bit, boolean on)  
    void unsetBit​(byte bit)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • setBitValue

      public void setBitValue​(byte bit, boolean on)
    • setBit

      public void setBit​(byte bit)
    • unsetBit

      public void unsetBit​(byte bit)
    • getValue

      public byte getValue()
    • equals

      public boolean equals​(byte b)
    • isBitSet

      public boolean isBitSet​(byte bit)