Java Bit Value Set bitSet(int value, int bitmask)

Here you can find the source of bitSet(int value, int bitmask)

Description

bit Set

License

Open Source License

Declaration

public static boolean bitSet(int value, int bitmask) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static boolean bitSet(int value, int bitmask) {

        return (value & bitmask) > 0;
    }/*from  w w w  . ja v  a  2 s.c o m*/
}

Related

  1. bitIsSet(byte data, byte bit)
  2. bitIsSet(int i, int offset)
  3. bitIsSet(int x, int pos)
  4. bitIsSet(long value, long test)
  5. bitSet(byte b, int pos)
  6. bitSet(long holder, int i, boolean set)