public static boolean get ( long [ ] bits , int pos ) { int offset = pos >> LONG_SHIFT ; if ( offset >= bits . length ) return false ; return ( bits [ offset ] & ( 1L << pos ) ) != 0 ; }
Gets the bit for the given position .