Module java.base
Package java.nio.channels

# Class Selector

=
public abstract class Selector
extends java.lang.Object
implements java.io.Closeable

## Constructors

- =
  protected Selector()

## Methods

- =
  public abstract void close() throws java.io.IOException
- =
  public abstract boolean isOpen()
- =
  public abstract java.util.Set<java.nio.channels.SelectionKey> keys()
- =
  public static java.nio.channels.Selector open() throws java.io.IOException
- =
  public abstract java.nio.channels.spi.SelectorProvider provider()
- =
  public abstract int select() throws java.io.IOException
- =
  public abstract int select(long arg0) throws java.io.IOException
- =
  public int select(java.util.function.Consumer<java.nio.channels.SelectionKey> arg0) throws java.io.IOException
- =
  public int select(java.util.function.Consumer<java.nio.channels.SelectionKey> arg0, long arg1) throws java.io.IOException
- =
  public abstract int selectNow() throws java.io.IOException
- =
  public int selectNow(java.util.function.Consumer<java.nio.channels.SelectionKey> arg0) throws java.io.IOException
- =
  public abstract java.util.Set<java.nio.channels.SelectionKey> selectedKeys()
- =
  public abstract java.nio.channels.Selector wakeup()

## Summary

No differences.