File D:\maven-qcr-plugin-testsunitaires\qcr4java\h2-1.3.170-sources\target\site\qc\lecode\mvstore\CursorPos.java.html

1 /*
2 * Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License,
3 * Version 1.0, and under the Eclipse Public License, Version 1.0
4 * (http://h2database.com/html/license.html).
5 * Initial Developer: H2 Group
6 */
7 package org.h2.mvstore;
8
9 /**
10 * A position in a cursor
11 */
12 public class CursorPos {
13
14 /**
15 * The current page.
16 */
17 public final Page page;
18
19 /**
20 * The current index.
21 */
22 public int index;
23
24 /**
25 * The position in the parent page, if any.
26 */
27 public final CursorPos parent;
28
29 public CursorPos(Page page, int index, CursorPos parent) {
30 this.page = page;
31 this.index = index;
32 this.parent = parent;
33 }
34
35 }
36
37