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

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

Go to download

High Performance Primitive Collections Realtime (fork of HPPC of Carrotsearch) Fundamental data structures (maps, sets, lists, stacks, queues, heaps, sorts) generated for combinations of object and primitive types to conserve JVM memory and speed up execution. The Realtime fork intend of extending collections while tweaking and optimizations to remove any dynamic allocations at runtime, and low variance execution times.

There is a newer version: 0.7.5
Show newest version
package com.carrotsearch.hppcrt.cursors;


/**
 * A cursor over entries of an associative container (byte keys and double values).
 */
//
 @javax.annotation.Generated(date = "2015-02-27T19:21:02+0100", value = "HPPC-RT generated from: ByteDoubleCursor.java") 
public final class ByteDoubleCursor
{
    /**
     * 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 byte 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