Java Bit Unset unsetFlag(int bitset, int flag)

Here you can find the source of unsetFlag(int bitset, int flag)

Description

unset Flag

License

Apache License

Declaration

public static int unsetFlag(int bitset, int flag) 

Method Source Code

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

public class Main {
    public static int unsetFlag(int bitset, int flag) {
        return bitset & (~flag);
    }// ww  w.j av a 2 s  .c  o  m
}

Related

  1. unsetBit(int f, int i)
  2. unSetBit(int integer, int bit)
  3. unsetBit(int value, int flags)
  4. unsetBit(long flags, long bit)
  5. unsetFlag(final int data, final int flag)
  6. unsetHighBit(int integer)