code: @Override
      public final void to(ObjectOutput out, WriteCache cache)
              throws IOException {
          if (cache == null) {
              to(out);
              return;
          }
          if (out == null) throw new NullPointerException();
          // delegate to the equivalent internal method
          _to(out, cache);
      }
docs: {@inheritDoc}