Package | Description |
---|---|
org.openjdk.jmc.common.collection | |
org.openjdk.jmc.flightrecorder.rules.util |
Modifier and Type | Method and Description |
---|---|
static <K> EntryHashMap<K,MapToolkit.IntEntry<K>> |
MapToolkit.createIntMap(int initialCapacity,
float loadFactor)
Create a map for storing integers based on a given key type.
|
Modifier and Type | Method and Description |
---|---|
int |
MapToolkit.IntEntry.compareTo(MapToolkit.IntEntry<K> o) |
Modifier and Type | Method and Description |
---|---|
static <T> List<MapToolkit.IntEntry<T>> |
RulesToolkit.calculateGroupingScore(IItemCollection items,
IAccessorFactory<T> accessorFactory)
Each group is represented by the number of elements that belong in that group, elements are
grouped by accessor value.
|
Modifier and Type | Method and Description |
---|---|
static <T> double |
RulesToolkit.calculateBalanceScore(List<MapToolkit.IntEntry<T>> array)
Calculates a balance for entries, where later elements get a higher relevance than earlier
elements.
|
Copyright © 2020. All rights reserved.