I wanted to ask about the ListLinked methods throwing an OutOfBounds exception. For
some of them, the description says that they're supposed to throw that type of
exception if the "window is outside the list".
Is that supposed to mean if the window doesn't exist in the list, or if there IS a
window, but the list is empty? I assume it's the latter.
Actually, now I think it's if the window doesn't exist or it's outside the list. But for
some reason when I put in the conditions for if:
- the window does exist OR
- the window is not before first OR
- the window is not after last,
it still executes the method instead of throwing an OutOfBounds exception even though one
of the conditions is true. Is there some reason why this is the case?