Refactoring to allow graphs from file
This commit is contained in:
17
src/main/java/Vertex.java
Normal file
17
src/main/java/Vertex.java
Normal file
@@ -0,0 +1,17 @@
|
||||
public class Vertex {
|
||||
private final Integer peptide;
|
||||
private final Integer occupancy;
|
||||
|
||||
public Vertex(Integer peptide, Integer occupancy) {
|
||||
this.peptide = peptide;
|
||||
this.occupancy = occupancy;
|
||||
}
|
||||
|
||||
public Integer getPeptide() {
|
||||
return peptide;
|
||||
}
|
||||
|
||||
public Integer getOccupancy() {
|
||||
return occupancy;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user