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

public final Class ObjectFloatCursor<KType>

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

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

The current key.

public float
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 KType key

The current key.

valueback to summary
public float value

The current value.

Constructor Detail

ObjectFloatCursorback to summary
public ObjectFloatCursor()

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