package com.carrotsearch.hppc.cursors;

/**
 * A cursor over a collection of ints.
 */
 @javax.annotation.Generated(
    date = "2015-05-07T09:33:04+0200",
    value = "KTypeCursor.java") 
public final class IntCursor {
  /**
   * The current value's index in the container this cursor belongs to. The
   * meaning of this index is defined by the container (usually it will be an
   * index in the underlying storage buffer).
   */
  public int index;

  /**
   * The current value.
   */
  public int value;

  @Override
  public String toString() {
    return "[cursor, index: " + index + ", value: " + value + "]";
  }
}

 

Ads help maintain this website.