All working, able to be built to .jar
This commit is contained in:
19
src/main/java/CellSample.java
Normal file
19
src/main/java/CellSample.java
Normal file
@@ -0,0 +1,19 @@
|
||||
import java.util.List;
|
||||
|
||||
public class CellSample {
|
||||
|
||||
private List<Integer[]> cells;
|
||||
|
||||
public CellSample(List<Integer[]> cells){
|
||||
this.cells = cells;
|
||||
}
|
||||
|
||||
public List<Integer[]> getCells(){
|
||||
return cells;
|
||||
}
|
||||
|
||||
public Integer population(){
|
||||
return cells.size();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user