equal
deleted
inserted
replaced
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() { } |