com.carrotsearch.hppc.IntSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package com.carrotsearch.hppc;
/**
* A set of int
s.
*/
@javax.annotation.Generated(
date = "2015-05-07T09:33:05+0200",
value = "KTypeSet.java")
public interface IntSet extends IntCollection {
/**
* Adds k
to the set.
*
* @return Returns true
if this element was not part of the set
* before. Returns false
if an equal element is part of
* the set, and replaces the existing equal element with the
* argument (if keys are object types).
*/
public boolean add(int k);
/**
* Visually depict the distribution of keys.
*
* @param characters
* The number of characters to "squeeze" the entire buffer into.
* @return Returns a sequence of characters where '.' depicts an empty
* fragment of the internal buffer and 'X' depicts full or nearly full
* capacity within the buffer's range and anything between 1 and 9 is between.
*/
public String visualizeKeyDistribution(int characters);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy