public void set ( boolean value , int entry ) { if ( entry > numEntries || entry < 0 ) throw new ND4JIllegalStateException ( "Entry index given (" + entry + ")in is higher then configured one (" + numEntries + ")" ) ; if ( oneTime && this . timeTracker . get ( entry ) ) return ; if ( value ) this . holder |= 1 << ( entry + 1 ) ; else this . holder &= ~ ( 1 << ( entry + 1 ) ) ; if ( oneTime ) this . timeTracker . set ( true , entry ) ; }
Sets specified entry to specified state