Class LongBitSet
- java.lang.Object
-
- org.processmining.plugins.InductiveMiner.graphs.LongBitSet
-
public class LongBitSet extends java.lang.ObjectObtained from http://java-performance.info/bit-sets/
-
-
Constructor Summary
Constructors Constructor Description LongBitSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(long fromIndex, long toIndex)Clear all bits betweenfromIndex(inclusive) andtoIndex(exclusive)booleanget(long index)Get a value for a given indexvoidset(long index, boolean value)Set a given value for a given index
-
-
-
Method Detail
-
set
public void set(long index, boolean value)Set a given value for a given index- Parameters:
index- Long indexvalue- Value to set
-
get
public boolean get(long index)
Get a value for a given index- Parameters:
index- Long index- Returns:
- Value associated with a given index
-
clear
public void clear(long fromIndex, long toIndex)Clear all bits betweenfromIndex(inclusive) andtoIndex(exclusive)- Parameters:
fromIndex- Start index (inclusive)toIndex- End index (exclusive)
-
-