Tabnine Logo
MVRTreeMap$RTreeCursor
Code IndexAdd Tabnine to your IDE (free)

How to use
MVRTreeMap$RTreeCursor
in
org.h2.mvstore.rtree

Best Java code snippets using org.h2.mvstore.rtree.MVRTreeMap$RTreeCursor (Showing top 16 results out of 315)

origin: org.wowtools/h2

while (pos.index < p.getKeyCount()) {
  SpatialKey c = (SpatialKey) p.getKey(pos.index++);
  if (filter == null || check(true, c, filter)) {
    current = c;
    return;
  int index = pos.index++;
  SpatialKey c = (SpatialKey) p.getKey(index);
  if (filter == null || check(false, c, filter)) {
    Page child = pos.page.getChildPage(index);
    pos = new CursorPos(child, 0, pos);
origin: com.eventsourcing/h2

@Override
public boolean hasNext() {
  if (!initialized) {
    // init
    pos = new CursorPos(root, 0, null);
    fetchNext();
    initialized = true;
  }
  return current != null;
}
origin: com.eventsourcing/h2

@Override
public SpatialKey next() {
  if (!hasNext()) {
    return null;
  }
  SpatialKey c = current;
  fetchNext();
  return c;
}
origin: com.h2database/h2-mvstore

while (pos.index < p.getKeyCount()) {
  SpatialKey c = (SpatialKey) p.getKey(pos.index++);
  if (filter == null || check(true, c, filter)) {
    current = c;
    return;
  int index = pos.index++;
  SpatialKey c = (SpatialKey) p.getKey(index);
  if (filter == null || check(false, c, filter)) {
    Page child = pos.page.getChildPage(index);
    pos = new CursorPos(child, 0, pos);
origin: com.eventsourcing/h2

while (pos.index < p.getKeyCount()) {
  SpatialKey c = (SpatialKey) p.getKey(pos.index++);
  if (filter == null || check(true, c, filter)) {
    current = c;
    return;
  int index = pos.index++;
  SpatialKey c = (SpatialKey) p.getKey(index);
  if (filter == null || check(false, c, filter)) {
    Page child = pos.page.getChildPage(index);
    pos = new CursorPos(child, 0, pos);
origin: org.wowtools/h2

/**
 * Skip over that many entries. This method is relatively fast (for this
 * map implementation) even if many entries need to be skipped.
 *
 * @param n the number of entries to skip
 */
public void skip(long n) {
  while (hasNext() && n-- > 0) {
    fetchNext();
  }
}
origin: com.eventsourcing/h2

/**
 * Skip over that many entries. This method is relatively fast (for this
 * map implementation) even if many entries need to be skipped.
 *
 * @param n the number of entries to skip
 */
public void skip(long n) {
  while (hasNext() && n-- > 0) {
    fetchNext();
  }
}
origin: com.h2database/h2-mvstore

@Override
public SpatialKey next() {
  if (!hasNext()) {
    return null;
  }
  SpatialKey c = current;
  fetchNext();
  return c;
}
origin: com.h2database/h2-mvstore

/**
 * Skip over that many entries. This method is relatively fast (for this
 * map implementation) even if many entries need to be skipped.
 *
 * @param n the number of entries to skip
 */
public void skip(long n) {
  while (hasNext() && n-- > 0) {
    fetchNext();
  }
}
origin: com.h2database/h2-mvstore

@Override
public boolean hasNext() {
  if (!initialized) {
    // init
    pos = new CursorPos(root, 0, null);
    fetchNext();
    initialized = true;
  }
  return current != null;
}
origin: org.wowtools/h2

@Override
public SpatialKey next() {
  if (!hasNext()) {
    return null;
  }
  SpatialKey c = current;
  fetchNext();
  return c;
}
origin: org.wowtools/h2

@Override
public boolean hasNext() {
  if (!initialized) {
    // init
    pos = new CursorPos(root, 0, null);
    fetchNext();
    initialized = true;
  }
  return current != null;
}
origin: com.h2database/h2

while (pos.index < p.getKeyCount()) {
  SpatialKey c = (SpatialKey) p.getKey(pos.index++);
  if (filter == null || check(true, c, filter)) {
    current = c;
    return;
  int index = pos.index++;
  SpatialKey c = (SpatialKey) p.getKey(index);
  if (filter == null || check(false, c, filter)) {
    Page child = pos.page.getChildPage(index);
    pos = new CursorPos(child, 0, pos);
origin: com.h2database/h2

@Override
public boolean hasNext() {
  if (!initialized) {
    // init
    pos = new CursorPos(root, 0, null);
    fetchNext();
    initialized = true;
  }
  return current != null;
}
origin: com.h2database/h2

/**
 * Skip over that many entries. This method is relatively fast (for this
 * map implementation) even if many entries need to be skipped.
 *
 * @param n the number of entries to skip
 */
public void skip(long n) {
  while (hasNext() && n-- > 0) {
    fetchNext();
  }
}
origin: com.h2database/h2

@Override
public SpatialKey next() {
  if (!hasNext()) {
    return null;
  }
  SpatialKey c = current;
  fetchNext();
  return c;
}
org.h2.mvstore.rtreeMVRTreeMap$RTreeCursor

Javadoc

A cursor to iterate over a subset of the keys.

Most used methods

  • check
    Check a given key.
  • fetchNext
    Fetch the next entry if there is one.
  • hasNext

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JTextField (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now