/** * Returns the empty rose tree * * @param <T> the tree's value type * @return the empty rose tree */ static <T> Nil<T> nil() { return Nil.instance(); }
@Override public <U> Nil<U> map(Function<? super T, ? extends U> mapper) { return Nil.instance(); }