private @Nullable Collection<E> asCollection() {
    //noinspection unchecked
    return content instanceof Collection ? (Collection<E>)content : null;
  }
private @Nullable Collection<E> asCollection()