Lines Matching refs:tail
33 public List<A> tail;
35 /** Construct a list given its head and tail.
37 public List(A head, List<A> tail) {
38 this.tail = tail;
88 return tail == null;
94 return tail != null;
102 while (l.tail != null) {
103 l = l.tail;
122 else return this.prependList(xs.tail).prepend(xs.head);
129 for (List<A> l = this; l.nonEmpty(); l = l.tail)
156 l = l.tail;
170 for (List<A> l = tail; l.nonEmpty(); l = l.tail) {
189 while (l.tail != null) {
191 l = l.tail;
205 while (xs.tail != null && ys.tail != null) {
211 xs = xs.tail;
212 ys = ys.tail;
214 return xs.tail == null && ys.tail == null;
221 while (l.tail != null) {
227 l = l.tail;