Example #1
0
 public String toString() {
   return "(" + first + rest.toStringHelp() + ")";
 }
Example #2
0
 public String toStringHelp() {
   return " " + first + rest.toStringHelp();
 }
Example #3
0
 public PureList<ElemType> append(PureList<ElemType> addedElts) {
   return new Cons<ElemType>(first, rest.append(addedElts));
 }