public class GraphProvider extends Object implements GraphService
| Modifier and Type | Field and Description |
|---|---|
(package private) File |
file |
(package private) static org.slf4j.Logger |
log |
(package private) Map<String,Set<String>> |
neighbors |
| Constructor and Description |
|---|
GraphProvider() |
static org.slf4j.Logger log
File file
public File getFile()
public void setFile(File file)
file - the file to setpublic void reset()
throws Exception
reset in interface ServiceExceptionService.reset()public Set<String> getNodes()
getNodes in interface GraphServiceGraphService.getNodes()public Set<String> getNeighbors(String node)
getNeighbors in interface GraphServiceGraphService.getNeighbors(java.lang.String)Copyright © 2014. All rights reserved.