public class CollectionsAccess extends Object
GraalRuntime's
CollectionsProvider and NodeCollectionsProvider.| Modifier and Type | Field and Description |
|---|---|
private static NodeCollectionsProvider |
provider |
| Constructor and Description |
|---|
CollectionsAccess() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Map<K,V> |
newIdentityMap() |
static <K,V> Map<K,V> |
newIdentityMap(int expectedMaxSize) |
static <K,V> Map<K,V> |
newIdentityMap(Map<K,V> initFrom) |
static <E> Set<E> |
newIdentitySet()
Creates an identity set.
|
static <K extends Node,V> |
newNodeIdentityMap() |
static <K extends Node,V> |
newNodeIdentityMap(int expectedMaxSize) |
static <K extends Node,V> |
newNodeIdentityMap(Map<K,V> initFrom) |
static <E extends Node> |
newNodeIdentitySet() |
private static final NodeCollectionsProvider provider
public CollectionsAccess()
public static <K,V> Map<K,V> newIdentityMap()
CollectionsProvider.newIdentityMap()public static <K,V> Map<K,V> newIdentityMap(int expectedMaxSize)
CollectionsProvider.newIdentityMap()public static <K,V> Map<K,V> newIdentityMap(Map<K,V> initFrom)
CollectionsProvider.newIdentityMap(Map)public static <E extends Node> Set<E> newNodeIdentitySet()
public static <K extends Node,V> Map<K,V> newNodeIdentityMap()
public static <K extends Node,V> Map<K,V> newNodeIdentityMap(int expectedMaxSize)
public static <K extends Node,V> Map<K,V> newNodeIdentityMap(Map<K,V> initFrom)
public static <E> Set<E> newIdentitySet()