62,634
社区成员




public int getSection(String s) {
int n = -1;
Node current = first;
while (n < size) {
if (current.element == s) {
n++;
break;
} else {
current = current.next;
n++;
}
}
return n;
}
public int getSection(String s) {
int n = -1;
Node current = first;
while (n < size && null!=current) {
if (current.element == s) {
n++;
break;
} else {
current = current.next;
n++;
}
}
return n;
}