/** * <p>Clears the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public short clearShort(short holder) { return (short) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public byte clearByte(byte holder) { return (byte) clear(holder); }
/** * <p>Sets a boolean BitField.</p> * * @param holder the int data containing the bits we're * interested in * @param flag indicating whether to set or clear the bits * @return the value of holder with the specified bits set or * cleared */ public int setBoolean(int holder, boolean flag) { return flag ? set(holder) : clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public short clearShort(short holder) { return (short) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public byte clearByte(byte holder) { return (byte) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public short clearShort(short holder) { return (short) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public short clearShort(short holder) { return (short) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public short clearShort(short holder) { return (short) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public byte clearByte(byte holder) { return (byte) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public byte clearByte(byte holder) { return (byte) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public short clearShort(short holder) { return (short) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public byte clearByte(byte holder) { return (byte) clear(holder); }
/** * <p>Clears the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits cleared * (set to <code>0</code>) */ public byte clearByte(byte holder) { return (byte) clear(holder); }
/** * <p>Sets a boolean BitField.</p> * * @param holder the int data containing the bits we're * interested in * @param flag indicating whether to set or clear the bits * @return the value of holder with the specified bits set or * cleared */ public int setBoolean(int holder, boolean flag) { return flag ? set(holder) : clear(holder); }
/** * <p>Sets a boolean BitField.</p> * * @param holder the int data containing the bits we're * interested in * @param flag indicating whether to set or clear the bits * @return the value of holder with the specified bits set or * cleared */ public int setBoolean(int holder, boolean flag) { return flag ? set(holder) : clear(holder); }
/** * <p>Sets a boolean BitField.</p> * * @param holder the int data containing the bits we're * interested in * @param flag indicating whether to set or clear the bits * @return the value of holder with the specified bits set or * cleared */ public int setBoolean(int holder, boolean flag) { return flag ? set(holder) : clear(holder); }
/** * <p>Sets a boolean BitField.</p> * * @param holder the int data containing the bits we're * interested in * @param flag indicating whether to set or clear the bits * @return the value of holder with the specified bits set or * cleared */ public int setBoolean(int holder, boolean flag) { return flag ? set(holder) : clear(holder); }
/** * <p>Sets a boolean BitField.</p> * * @param holder the int data containing the bits we're * interested in * @param flag indicating whether to set or clear the bits * @return the value of holder with the specified bits set or * cleared */ public int setBoolean(int holder, boolean flag) { return flag ? set(holder) : clear(holder); }