LongIntHashMap.LongIntCursor (Lucene 10.5.0 core API)
Description: declaration: package: org.apache.lucene.internal.hppc, class: LongIntHashMap, class: LongIntCursor

Package org.apache.lucene.internal.hppc

# Class LongIntHashMap.LongIntCursor

java.lang.Object
org.apache.lucene.internal.hppc.LongIntHashMap.LongIntCursor

Enclosing class:
  `LongIntHashMap`

public static final class LongIntHashMap.LongIntCursor extends Object
Forked from HPPC, holding int index,key and value

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `index`
  The current key and value's index in the container this cursor belongs to.
  `long`
  `key`
  The current key.
  `int`
  `value`
  The current value.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LongIntCursor()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### index

    public int index
    The current key and 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).

  - ### key

    public long key
    The current key.

  - ### value

    public int value
    The current value.

- ## Constructor Details

  - ### LongIntCursor

    public LongIntCursor()

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`