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

com.carrotsearch.hppc.cursors.ShortDoubleCursor Maven / Gradle / Ivy

package com.carrotsearch.hppc.cursors;


/**
 * A cursor over entries of an associative container (short keys and double values).
 */
 @javax.annotation.Generated(date = "2013-07-09T09:54:21+0200", value = "HPPC generated from: ShortDoubleCursor.java") 
public final class ShortDoubleCursor
{
    /**
     * 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 short key;

    /**
     * The current value.
     */
    public double value;
    
    @Override
    public String toString()
    {
        return "[cursor, index: " + index + ", key: " + key + ", value: " + value + "]";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy