Java Bits Convert to BIT(int x)

Here you can find the source of BIT(int x)

Description

BIT

License

Apache License

Declaration

public static int BIT(int x) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static int BIT(int x) {
        return (1 << x);
    }/*from   ww  w.  j  a v  a  2  s.c om*/
}

Related

  1. bit(byte[] h, int i)
  2. bit(int a, int b)
  3. bit(int row, int col)
  4. bitArray2byte(boolean[] array)
  5. bitarrayShiftAndFill(byte[] data, int length, int shift, byte first, byte last)
  6. bitArrayToByte(byte[] bytes)
  7. BitArrayToString(Boolean[] asciiBinary)