src/java.base/share/classes/sun/nio/ch/SelChImpl.java
changeset 49526 cad4c844902a
parent 49493 814bd31f8da0
child 54620 13b67c1420b8
equal deleted inserted replaced
49525:4d98473ed33e 49526:cad4c844902a
    47      *
    47      *
    48      * @return  true iff the new value of sk.readyOps() set by this method
    48      * @return  true iff the new value of sk.readyOps() set by this method
    49      *          contains at least one bit that the previous value did not
    49      *          contains at least one bit that the previous value did not
    50      *          contain
    50      *          contain
    51      */
    51      */
    52     boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk);
    52     boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl ski);
    53 
    53 
    54     /**
    54     /**
    55      * Sets the specified ops if present in interestOps. The specified
    55      * Sets the specified ops if present in interestOps. The specified
    56      * ops are turned on, and all other ops are turned off.
    56      * ops are turned on, and all other ops are turned off.
    57      *
    57      *
    58      * @return  true iff the new value of sk.readyOps() set by this method
    58      * @return  true iff the new value of sk.readyOps() set by this method
    59      *          contains at least one bit that the previous value did not
    59      *          contains at least one bit that the previous value did not
    60      *          contain
    60      *          contain
    61      */
    61      */
    62     boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk);
    62     boolean translateAndSetReadyOps(int ops, SelectionKeyImpl ski);
    63 
    63 
    64     /**
    64     /**
    65      * Translates an interest operation set into a native event set
    65      * Translates an interest operation set into a native event set
    66      */
    66      */
    67     int translateInterestOps(int ops);
    67     int translateInterestOps(int ops);