示例#1
0
 /**
  * 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();
 }
示例#2
0
 @Override
 public <U> Nil<U> map(Function<? super T, ? extends U> mapper) {
   return Nil.instance();
 }