/** * <p>Sets the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits set * to <code>1</code> */ public byte setByte(byte holder) { return (byte) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits set * to <code>1</code> */ public short setShort(short holder) { return (short) set(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 the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits set * to <code>1</code> */ public byte setByte(byte holder) { return (byte) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits set * to <code>1</code> */ public byte setByte(byte holder) { return (byte) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits set * to <code>1</code> */ public short setShort(short holder) { return (short) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits set * to <code>1</code> */ public short setShort(short holder) { return (short) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits set * to <code>1</code> */ public byte setByte(byte holder) { return (byte) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits set * to <code>1</code> */ public short setShort(short holder) { return (short) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits set * to <code>1</code> */ public short setShort(short holder) { return (short) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits set * to <code>1</code> */ public byte setByte(byte holder) { return (byte) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the short data containing the bits we're * interested in * @return the value of holder with the specified bits set * to <code>1</code> */ public short setShort(short holder) { return (short) set(holder); }
/** * <p>Sets the bits.</p> * * @param holder the byte data containing the bits we're * interested in * * @return the value of holder with the specified bits set * to <code>1</code> */ public byte setByte(byte holder) { return (byte) set(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); }