public class ACGlobalMap extends Object
| Constructor and Description |
|---|
ACGlobalMap()
Creates a brand new Global Map Object without any information about the
dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(long id)
Adds a new node to the GlobalMap
|
boolean |
addRel(long idStart,
String key,
long idEnd)
Adds a relationship between to nodes
|
boolean |
deleteRel(long id,
String key)
Deletes a relationship of the map
|
long |
getNodeID(long idStart,
String key) |
Map<Long,Map<String,Long>> |
getRelMap() |
boolean |
hasRel(long idStart,
String key) |
Iterator<String> |
iteratorNextNodes(long idStart) |
int |
numberOfRel(long idStart) |
public ACGlobalMap()
public void addNode(long id)
id - - ID of the Nodepublic boolean addRel(long idStart,
String key,
long idEnd)
idStart - - ID of the start nodekey - - Name of the RelationshipidEnd - - ID of the end nodetrue if success, false if notpublic boolean deleteRel(long id,
String key)
id - - ID of the start node of the Relationkey - - Name of the Relationshiptrue if success, false if notpublic boolean hasRel(long idStart,
String key)
public int numberOfRel(long idStart)
public long getNodeID(long idStart,
String key)
Copyright © 2017 JULIE Lab Jena, Germany. All rights reserved.