/** * <p>Obtains the value for the specified BitField, unshifted.</p> * * @param holder the short data containing the bits we're * interested in * @return the selected bits */ public short getShortRawValue(short holder) { return (short) getRawValue(holder); }
/** * <p>Obtains the value for the specified BitField, appropriately * shifted right.</p> * * <p>Many users of a BitField will want to treat the specified * bits as an int value, and will not want to be aware that the * value is stored as a BitField (and so shifted left so many * bits).</p> * * @see #setValue(int,int) * @param holder the int data containing the bits we're interested * in * @return the selected bits, shifted right appropriately */ public int getValue(int holder) { return getRawValue(holder) >> _shift_count; }
/** * <p>Obtains the value for the specified BitField, unshifted.</p> * * @param holder the short data containing the bits we're * interested in * @return the selected bits */ public short getShortRawValue(short holder) { return (short) getRawValue(holder); }
/** * <p>Obtains the value for the specified BitField, unshifted.</p> * * @param holder the short data containing the bits we're * interested in * @return the selected bits */ public short getShortRawValue(short holder) { return (short) getRawValue(holder); }
/** * <p>Obtains the value for the specified BitField, unshifted.</p> * * @param holder the short data containing the bits we're * interested in * @return the selected bits */ public short getShortRawValue(short holder) { return (short) getRawValue(holder); }
/** * <p>Obtains the value for the specified BitField, unshifted.</p> * * @param holder the short data containing the bits we're * interested in * @return the selected bits */ public short getShortRawValue(short holder) { return (short) getRawValue(holder); }
/** * <p>Obtains the value for the specified BitField, unshifted.</p> * * @param holder the short data containing the bits we're * interested in * @return the selected bits */ public short getShortRawValue(short holder) { return (short) getRawValue(holder); }
/** * <p>Obtains the value for the specified BitField, appropriately * shifted right.</p> * * <p>Many users of a BitField will want to treat the specified * bits as an int value, and will not want to be aware that the * value is stored as a BitField (and so shifted left so many * bits).</p> * * @see #setValue(int,int) * @param holder the int data containing the bits we're interested * in * @return the selected bits, shifted right appropriately */ public int getValue(int holder) { return getRawValue(holder) >> _shift_count; }
/** * <p>Obtains the value for the specified BitField, appropriately * shifted right.</p> * * <p>Many users of a BitField will want to treat the specified * bits as an int value, and will not want to be aware that the * value is stored as a BitField (and so shifted left so many * bits).</p> * * @see #setValue(int,int) * @param holder the int data containing the bits we're interested * in * @return the selected bits, shifted right appropriately */ public int getValue(int holder) { return getRawValue(holder) >> _shift_count; }
/** * <p>Obtains the value for the specified BitField, appropriately * shifted right.</p> * * <p>Many users of a BitField will want to treat the specified * bits as an int value, and will not want to be aware that the * value is stored as a BitField (and so shifted left so many * bits).</p> * * @see #setValue(int,int) * @param holder the int data containing the bits we're interested * in * @return the selected bits, shifted right appropriately */ public int getValue(int holder) { return getRawValue(holder) >> _shift_count; }
/** * <p>Obtains the value for the specified BitField, appropriately * shifted right.</p> * * <p>Many users of a BitField will want to treat the specified * bits as an int value, and will not want to be aware that the * value is stored as a BitField (and so shifted left so many * bits).</p> * * @see #setValue(int,int) * @param holder the int data containing the bits we're interested * in * @return the selected bits, shifted right appropriately */ public int getValue(int holder) { return getRawValue(holder) >> _shift_count; }
/** * <p>Obtains the value for the specified BitField, appropriately * shifted right.</p> * * <p>Many users of a BitField will want to treat the specified * bits as an int value, and will not want to be aware that the * value is stored as a BitField (and so shifted left so many * bits).</p> * * @see #setValue(int,int) * @param holder the int data containing the bits we're interested * in * @return the selected bits, shifted right appropriately */ public int getValue(int holder) { return getRawValue(holder) >> _shift_count; }