public boolean get ( long index ) { if ( ! ( index < size ) ) throw new IndexOutOfBoundsException ( ) ; return ( bytes . readLong ( offset ( index ) ) & ( 1l << ( position ( index ) ) ) ) != 0 ; }
Gets the bit at the given index .