public final class GraphReader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphReader.MalformedGraphFileException |
Modifier and Type | Field and Description |
---|---|
static int[] |
COMPATIBLE_VERSIONS |
Constructor and Description |
---|
GraphReader() |
Modifier and Type | Method and Description |
---|---|
ShuffleGraph |
getResult() |
ShuffleGraph |
read(File file) |
ShuffleGraph |
read(Scanner scanner) |
ShuffleGraph |
read(String fileName) |
public ShuffleGraph getResult()
public ShuffleGraph read(String fileName) throws IOException, GraphReader.MalformedGraphFileException
public ShuffleGraph read(File file) throws IOException, GraphReader.MalformedGraphFileException
public ShuffleGraph read(Scanner scanner) throws IOException, GraphReader.MalformedGraphFileException
Copyright © 2024. All rights reserved.