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

public final Class CharLongCursor

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

A cursor over entries of an associative container (char keys and long 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 char
key

The current key.

public long
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 char key

The current key.

valueback to summary
public long value

The current value.

Constructor Detail

CharLongCursorback to summary
public CharLongCursor()

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