jdk/src/share/classes/java/nio/channels/Selector.java
changeset 4351 c6b75a422eb8
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
4349:c72a4e2ec170 4351:c6b75a422eb8
    23  * have any questions.
    23  * have any questions.
    24  */
    24  */
    25 
    25 
    26 package java.nio.channels;
    26 package java.nio.channels;
    27 
    27 
       
    28 import java.io.Closeable;
    28 import java.io.IOException;
    29 import java.io.IOException;
    29 import java.nio.channels.spi.SelectorProvider;
    30 import java.nio.channels.spi.SelectorProvider;
    30 import java.util.Set;
    31 import java.util.Set;
    31 
    32 
    32 
    33 
   200  *
   201  *
   201  * @see SelectableChannel
   202  * @see SelectableChannel
   202  * @see SelectionKey
   203  * @see SelectionKey
   203  */
   204  */
   204 
   205 
   205 public abstract class Selector {
   206 public abstract class Selector implements Closeable {
   206 
   207 
   207     /**
   208     /**
   208      * Initializes a new instance of this class.
   209      * Initializes a new instance of this class.
   209      */
   210      */
   210     protected Selector() { }
   211     protected Selector() { }