public class MemoryGraphFactory extends AbstractGraphFactory implements GraphFactory
Modifier and Type | Field and Description |
---|---|
static int |
SORTMODE_ALPHA |
static int |
SORTMODE_NONE |
static int |
SORTMODE_ORDER |
Constructor and Description |
---|
MemoryGraphFactory() |
Modifier and Type | Method and Description |
---|---|
static MemoryGraphFactory |
getInstance() |
int |
getSortmode() |
MemoryGraph |
openGraph()
Opens a graph.
|
MemoryGraph |
openGraph(String identifier)
Opens a graph.
|
void |
setSortmode(int sortmode) |
loadGraph, loadGraph, loadGraph, parseGraph, parseGraph, parseGraph
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadGraph, loadGraph, loadGraph, parseGraph, parseGraph, parseGraph
public static final int SORTMODE_NONE
public static final int SORTMODE_ORDER
public static final int SORTMODE_ALPHA
public static MemoryGraphFactory getInstance()
public MemoryGraph openGraph()
GraphFactory
openGraph
in interface GraphFactory
openGraph
in class AbstractGraphFactory
public MemoryGraph openGraph(String identifier)
GraphFactory
openGraph
in interface GraphFactory
identifier
- An optional identifier to distinguish graphs from one another.public int getSortmode()
public void setSortmode(int sortmode)
Copyright © 2017. All rights reserved.