All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.carrotsearch.hppcrt.cursors.LongByteCursor Maven / Gradle / Ivy

package com.carrotsearch.hppcrt.cursors;

/**
 * A cursor over entries of an associative container (long keys and byte values).
 */
 @javax.annotation.Generated(
    date = "2017-07-11T19:16:22+0200",
    value = "KTypeVTypeCursor.java") 
public final class LongByteCursor
{
    /**
     * 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).
     */
    public int index;

    /**
     * The current key.
     */
    public long key;

    /**
     * The current value.
     */
    public byte value;

    @Override
    public String toString()
    {
        return "[cursor, index: " + this.index + ", key: " + this.key + ", value: " + this.value + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy