public class Boolean2IntMaps
extends java.lang.Object
| Constructor and Description |
|---|
Boolean2IntMaps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fastForEach(Boolean2IntMap map,
java.util.function.Consumer<Boolean2IntMap.Entry> action)
A Helper function that provides a faster forEach iterator implementation that recycles the entry to increase throughput
|
static ObjectIterable<Boolean2IntMap.Entry> |
fastIterable(Boolean2IntMap map)
Helper method that provides the fastIterable that recycles a single Entry to increase throughput.
|
static ObjectIterator<Boolean2IntMap.Entry> |
fastIterator(Boolean2IntMap map)
Helper method that provides the fastIterator that recycles a single Entry to increase throughput.
|
public static ObjectIterator<Boolean2IntMap.Entry> fastIterator(Boolean2IntMap map)
map - the map the fastIterator should be accessed frompublic static ObjectIterable<Boolean2IntMap.Entry> fastIterable(Boolean2IntMap map)
map - the map the fastIterable should be accessed frompublic static void fastForEach(Boolean2IntMap map, java.util.function.Consumer<Boolean2IntMap.Entry> action)
map - the map the fast forEach should be accessed fromaction - the action that should be performed on each entry