code: public final void bind(SocketAddress localAddress) throws IOException {
          if (localAddress == null) {
              throw new NullPointerException("localAddress");
          }
          
          List<SocketAddress> localAddresses = new ArrayList<>(1);
          localAddresses.add(localAddress);
          bind(localAddresses);
      }
docs: {@inheritDoc}