Lines Matching refs:list
21 * A linked list.
53 * Returns the car part of the list.
62 * Returns the cdr part of the list.
77 ASTList list = this;
78 while (list != null) {
80 ASTree a = list.left;
82 list = list.right;
90 * Returns the number of the elements in this list.
96 public static int length(ASTList list) {
97 if (list == null)
101 while (list != null) {
102 list = list.right;
110 * Returns a sub list of the list. The sub list begins with the
111 * n-th element of the list.
116 ASTList list = this;
118 list = list.right;
120 return list;
125 * list.
128 for (ASTList list = this; list != null; list = list.right)
129 if (list.left == oldObj) {
130 list.left = newObj;
138 * Appends an object to a list.
151 ASTList list = a;
152 while (list.right != null)
153 list = list.right;
155 list.right = b;