public class DefaultNodeCollectionsProvider extends DefaultCollectionsProvider implements NodeCollectionsProvider
NodeCollectionsProvider that creates standard JDK collection
class objects.| Constructor and Description |
|---|
DefaultNodeCollectionsProvider() |
| Modifier and Type | Method and Description |
|---|---|
<K extends Node,V> |
newNodeIdentityMap()
Creates a map whose keys are
Nodes that uses reference-equality in place of
object-equality when comparing keys. |
<K extends Node,V> |
newNodeIdentityMap(int expectedMaxSize)
Creates a map whose keys are
Nodes that uses reference-equality in place of
object-equality when comparing keys. |
<K extends Node,V> |
newNodeIdentityMap(Map<K,V> initFrom)
Creates a map whose keys are
Nodes that uses reference-equality in place of
object-equality when comparing keys. |
<E extends Node> |
newNodeIdentitySet()
Creates a set of
Nodes that uses reference-equality in place of object-equality when
comparing entries. |
newIdentityMap, newIdentityMap, newIdentityMap, newIdentitySetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewIdentityMap, newIdentityMap, newIdentityMap, newIdentitySetpublic DefaultNodeCollectionsProvider()
public <E extends Node> Set<E> newNodeIdentitySet()
NodeCollectionsProviderNodes that uses reference-equality in place of object-equality when
comparing entries.newNodeIdentitySet in interface NodeCollectionsProviderpublic <K extends Node,V> Map<K,V> newNodeIdentityMap()
NodeCollectionsProviderNodes that uses reference-equality in place of
object-equality when comparing keys. All Node keys must be in the same graph.newNodeIdentityMap in interface NodeCollectionsProviderpublic <K extends Node,V> Map<K,V> newNodeIdentityMap(int expectedMaxSize)
NodeCollectionsProviderNodes that uses reference-equality in place of
object-equality when comparing keys. All Node keys must be in the same graph.newNodeIdentityMap in interface NodeCollectionsProviderpublic <K extends Node,V> Map<K,V> newNodeIdentityMap(Map<K,V> initFrom)
NodeCollectionsProviderNodes that uses reference-equality in place of
object-equality when comparing keys. All Node keys must be in the same graph.newNodeIdentityMap in interface NodeCollectionsProviderinitFrom - the returned map is populated with the entries in this map