question: private boolean translateReadyOps ( int ops , int initialOps , SelectionKeyImpl sk ) { int intOps = sk . nioInterestOps ( ) ; int oldOps = sk . nioReadyOps ( ) ; int newOps = initialOps ; if ( ( ops & Net . POLLNVAL ) != 0 ) { return false ; } if ( ( ops & ( Net . POLLERR | Net . POLLHUP ) ) != 0 ) { newOps = intOps ; sk . nioReadyOps ( newOps ) ; return ( newOps & ~ oldOps ) != 0 ; } if ( ( ( ops & Net . POLLIN ) != 0 ) && ( ( intOps & SelectionKey . OP_ACCEPT ) != 0 ) ) newOps |= SelectionKey . OP_ACCEPT ; sk . nioReadyOps ( newOps ) ; return ( newOps & ~ oldOps ) != 0 ; }
target:  Translates native poll revent ops into a ready operation ops