Lines Matching refs:dataIndex
58 * the record inserted by add(). dataIndex is -1 if the data record is not
59 * available. If greater or equal to zero, the slot at dataIndex is always
62 private int dataIndex;
66 * set to null if dataIndex is -1, or if the state of the iterator is such
68 * field is set to null, even though the dataIndex is still valid.
85 dataIndex = -1;
102 dataIndex = o.dataIndex;
164 * Sets dataObject to the iterator data for the element at dataIndex.
168 int i = dataIndex;
208 * accordingly. Also adjusts nextIndex and sets dataIndex to -1.
239 dataIndex = -1;
254 * Deletes the given slot, adjusts nextIndex and sets dataIndex to -1.
271 dataIndex = -1;
333 if (dataIndex == prev) {
334 dataIndex = 0;
336 dataIndex = -1;
349 dataIndex = -1;
424 if (dataIndex == next && repos == DataCursor.REPOS_EXACT) {
425 dataIndex = last;
427 dataIndex = -1;
474 dataIndex = nextIndex;
487 dataIndex = nextIndex;
531 if (moveCursor(dataIndex, cursor)) {
533 setSlot(dataIndex, cursor);
554 if (moveCursor(dataIndex, cursor)) {
556 deleteSlot(dataIndex);
565 * dataIndex.)
665 dataIndex = nextIndex - 1;
708 * is the last dataIndex accessed by next(), previous()
711 if (dataIndex < 0 || !moveCursor(dataIndex, cursor)) {
725 dataIndex = 0;