1: // Version 4.0
2: nameList.getPosition("Jamie"); // Returns 3, the position of Jamie in the list
3: nameList.contains("Jill"); // Returns false, because Jill is not in the list
4: nameList.getPosition("Jill"); // Returns –4, because Jill belongs at position 4 in the list
5: nameList.getEntry(2); // Returns Carlos, because he is at position 2 in the list
6: nameList.remove("Tom");
7: nameList.remove(1);