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