|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--DAT.ListLinked
| Constructor Summary | |
ListLinked()
|
|
| Method Summary | |
void |
afterLast(WindowLinked)
put a window over after-last position |
void |
beforeFirst(WindowLinked)
put a window over before-first position |
java.lang.Object |
delete(WindowLinked)
delete and return the object under a window, and place window over the next item |
java.lang.Object |
examine(WindowLinked)
examine the object under a window |
void |
insertAfter(java.lang.Object,
WindowLinked)
insert an item after a window |
void |
insertBefore(java.lang.Object,
WindowLinked)
insert an item before a window |
boolean |
isAfterLast(WindowLinked)
check if the window is over the after-last position |
boolean |
isBeforeFirst(WindowLinked)
check if the window is over the before-first position |
boolean |
isEmpty()
check if the list is empty |
void |
next(WindowLinked)
move a window to the next position |
void |
previous(WindowLinked)
move a window to the previous position |
java.lang.Object |
replace(java.lang.Object,
WindowLinked)
replace the object under a window |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ListLinked()
| Method Detail |
public boolean isEmpty()
List
isEmpty in interface Listpublic boolean isBeforeFirst(WindowLinked)
List
isBeforeFirst in interface List - the window
public boolean isAfterLast(WindowLinked)
List
isAfterLast in interface List - the window
public void beforeFirst(WindowLinked)
List
beforeFirst in interface List - the window to placepublic void afterLast(WindowLinked)
List
afterLast in interface List - the window to place
public void next(WindowLinked)
throws OutOfBounds
List
next in interface List - the window
OutOfBounds - if the window is past the end of the list
public void previous(WindowLinked)
throws OutOfBounds
List
previous in interface List - the window
OutOfBounds - if the window is before the start of the list
public void insertAfter(java.lang.Object,
WindowLinked)
throws OutOfBounds
List
insertAfter in interface List - the item to insert - the window
OutOfBounds - if the window is past the end of the list
public void insertBefore(java.lang.Object,
WindowLinked)
throws OutOfBounds
List
insertBefore in interface List - the item to insert - the window
OutOfBounds - if the window is before the start of the list
public java.lang.Object examine(WindowLinked)
throws OutOfBounds
List
examine in interface List - the window
OutOfBounds - if the window is outside the list
public java.lang.Object replace(java.lang.Object,
WindowLinked)
throws OutOfBounds
List
replace in interface List - the new object - the window
OutOfBounds - if the window is outside the list
public java.lang.Object delete(WindowLinked)
throws OutOfBounds
List
delete in interface List - the window
OutOfBounds - if the window is outside the list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||