public static void set ( long [ ] bits , int pos ) { int offset = pos >> LONG_SHIFT ; if ( offset >= bits . length ) throw new IndexOutOfBoundsException ( ) ; bits [ offset ] |= 1L << pos ; }
Set the bit for the given position to true .