Here you can find the source of bitwiseNot(int number)
Parameter | Description |
---|---|
number | a parameter |
public static int bitwiseNot(int number)
//package com.java2s; public class Main { /**/*from w w w .j a v a 2s .co m*/ * bitwiseNot * @param number * @return */ public static int bitwiseNot(int number) { int ret = ~number; return ret & 0x0000FFFF; } }