com.carrotsearch.hppcrt.cursors.IntCursor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hppcrt Show documentation
Show all versions of hppcrt Show documentation
High Performance Primitive Collections Realtime
(fork of HPPC from Carrotsearch)
Fundamental data structures (maps, sets, lists, queues, heaps, sorts) generated for
combinations of object and primitive types to conserve JVM memory and speed
up execution. The Realtime fork intends to extend the existing collections, by tweaking to remove any dynamic allocations at runtime,
and to obtain low variance execution times whatever the input nature.
The newest version!
package com.carrotsearch.hppcrt.cursors;
/**
* A cursor over a collection of ints
.
*/
@javax.annotation.Generated(
date = "2017-07-11T19:16:22+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 + "]";
}
}