public class DefaultComputerResult extends Object implements ComputerResult
GraphComputer's computation. This is returned in a Future by GraphComputer.submit().
 A GraphComputer computation yields two things: an updated view of the computed on Graph and any computational sideEffects called Memory.| Modifier and Type | Field and Description | 
|---|---|
| protected Graph | graph | 
| protected Memory | memory | 
| Constructor and Description | 
|---|
| DefaultComputerResult(Graph graph,
                     Memory memory) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the computed  GraphComputerresult. | 
| Graph | graph() | 
| Memory | memory()Get the GraphComputer's computational sideEffects known as  Memory. | 
| String | toString() | 
public Graph graph()
ComputerResultgraph in interface ComputerResultpublic Memory memory()
ComputerResultMemory.memory in interface ComputerResultpublic void close()
ComputerResultGraphComputer result. The semantics of "close" differ depending on the underlying implementation.
 In general, when a ComputerResult is closed, the computed values are no longer available to the user.close in interface AutoCloseableclose in interface ComputerResultCopyright © 2013–2019 Apache Software Foundation. All rights reserved.