|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecty.base.YList.ListCursorImpl
public class YList.ListCursorImpl
Cursor implementation for class YList
.
Constructor Summary | |
---|---|
protected |
YList.ListCursorImpl()
|
Method Summary | |
---|---|
java.lang.Object |
current()
Returns the object currently pointed on. |
void |
next()
Moves this cursor one position forward. |
boolean |
ok()
Returns true if the current cursor position is valid. |
void |
prev()
Moves this cursor one position backward (optional). |
int |
size()
Returns the number of elements that can be accessed with this cursor. |
void |
toFirst()
Moves this cursor to the first valid cursor position (optional). |
void |
toLast()
Moves this cursor to the last valid cursor position (optional). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected YList.ListCursorImpl()
Method Detail |
---|
public boolean ok()
true
if the current cursor position is valid.
ok
in interface YCursor
public void next()
next
in interface YCursor
public void prev()
prev
in interface YCursor
public void toFirst()
toFirst
in interface YCursor
public void toLast()
toLast
in interface YCursor
public int size()
size
in interface YCursor
public java.lang.Object current()
current
in interface YCursor
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |