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