Rename abstract classes.
This commit is contained in:
@@ -12,7 +12,7 @@ import org.insa.graph.Point;
|
||||
import org.insa.graph.RoadInformation;
|
||||
import org.insa.graph.RoadInformation.RoadType;
|
||||
|
||||
public class BinaryGraphReader extends BinaryReader implements AbstractGraphReader {
|
||||
public class BinaryGraphReader extends BinaryReader implements GraphReader {
|
||||
|
||||
// Map version and magic number targeted for this reader.
|
||||
private static final int VERSION = 4;
|
||||
|
@@ -12,7 +12,7 @@ import org.insa.graph.Point;
|
||||
import org.insa.graph.RoadInformation;
|
||||
import org.insa.graph.RoadInformation.RoadType;
|
||||
|
||||
public class BinaryGraphReaderV2 extends BinaryReader implements AbstractGraphReader {
|
||||
public class BinaryGraphReaderV2 extends BinaryReader implements GraphReader {
|
||||
|
||||
// Map version and magic number targeted for this reader.
|
||||
private static final int VERSION = 5;
|
||||
|
@@ -9,7 +9,7 @@ import org.insa.graph.Node;
|
||||
import org.insa.graph.Path;
|
||||
import org.insa.graph.Path.CreationMode;
|
||||
|
||||
public class BinaryPathReader extends BinaryReader implements AbstractPathReader {
|
||||
public class BinaryPathReader extends BinaryReader implements PathReader {
|
||||
|
||||
// Map version and magic number targeted for this reader.
|
||||
protected static final int VERSION = 1;
|
||||
|
@@ -6,7 +6,7 @@ import java.io.IOException;
|
||||
import org.insa.graph.Arc;
|
||||
import org.insa.graph.Path;
|
||||
|
||||
public class BinaryPathWriter extends BinaryWriter implements AbstractPathWriter {
|
||||
public class BinaryPathWriter extends BinaryWriter implements PathWriter {
|
||||
|
||||
/**
|
||||
* @param dos
|
||||
|
@@ -4,7 +4,7 @@ import java.io.IOException;
|
||||
|
||||
import org.insa.graph.Graph;
|
||||
|
||||
public interface AbstractGraphReader {
|
||||
public interface GraphReader {
|
||||
|
||||
/**
|
||||
* Read a graph an returns it.
|
@@ -5,7 +5,7 @@ import java.io.IOException;
|
||||
import org.insa.graph.Graph;
|
||||
import org.insa.graph.Path;
|
||||
|
||||
public interface AbstractPathReader {
|
||||
public interface PathReader {
|
||||
|
||||
/**
|
||||
* Read a path of the given graph and returns it.
|
@@ -4,7 +4,7 @@ import java.io.IOException;
|
||||
|
||||
import org.insa.graph.Path;
|
||||
|
||||
public interface AbstractPathWriter {
|
||||
public interface PathWriter {
|
||||
|
||||
/**
|
||||
* Write a path.
|
Reference in New Issue
Block a user