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

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

Go to download

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.

There is a newer version: 0.10.0
Show newest version
  
package com.carrotsearch.hppc.cursors;

/**
 * A cursor over entries of an associative container (long keys and long
 * values).
 */
 @com.carrotsearch.hppc.Generated(
    date = "2018-05-21T12:24:04+0200",
    value = "KTypeVTypeCursor.java") 
public final class LongLongCursor {
  /**
   * 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 long value;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy