Top Description Fields Constructors Methods
com.carrotsearch.hppc.cursors

public final Class IntObjectCursor<VType>

extends Object
Class Inheritance
Annotations
@Generated:KTypeVTypeCursor.java
date:2024-06-04T15:20:17+0200

A cursor over entries of an associative container (int keys and Object values).

Field Summary

Modifier and TypeField and Description
public int
index

The current key and value's index in the container this cursor belongs to.

public int
key

The current key.

public VType
value

The current value.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

indexback to summary
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).

keyback to summary
public int key

The current key.

valueback to summary
public VType value

The current value.

Constructor Detail

IntObjectCursorback to summary
public IntObjectCursor()

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override