Java Bit Set setBitWidth(int bw)

Here you can find the source of setBitWidth(int bw)

Description

set Bit Width

License

Open Source License

Declaration

public static void setBitWidth(int bw) 

Method Source Code

//package com.java2s;
/*/*  w w  w  .  j a  va  2  s . c  o m*/
 * TACO: Translation of Annotated COde
 * Copyright (c) 2010 Universidad de Buenos Aires
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA,
 * 02110-1301, USA
 */

public class Main {
    private static int bitWidth;

    public static void setBitWidth(int bw) {
        bitWidth = bw;
    }
}

Related

  1. setBitsFromLong(byte[] dst, long dstoff, long l, int off, int len)
  2. setBitsInLong(long l, int n, int k, long v)
  3. setBitTo0(final long word, final int idx)
  4. setBitValue(byte aByte, int bitIndex, int bitValue)
  5. setBitValueAt(int destination, int value, int index)