com.carrotsearch.hppc.cursors.CharCursor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hppc Show documentation
Show all versions of hppc Show documentation
High Performance Primitive Collections: data structures (maps, sets, lists, stacks, queues) generated for combinations of object and primitive types to conserve JVM memory and speed up execution.
package com.carrotsearch.hppc.cursors;
/**
* A cursor over a collection of chars
.
*/
@com.carrotsearch.hppc.Generated(
date = "2018-05-21T12:24:04+0200",
value = "KTypeCursor.java")
public final class CharCursor {
/**
* 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 char value;
@Override
public String toString() {
return "[cursor, index: " + index + ", value: " + value + "]";
}
}