Skip to content
Permalink
1f1e62ce07
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
36 lines (28 sloc) 530 Bytes
package model;
public class Object {
private int col, row;
private String name;
public Object(int row, int col, String name) {
this.setCol(col);
this.setRow(row);
this.setName(name);
}
public int getCol() {
return col;
}
public void setCol(int col) {
this.col = col;
}
public int getRow() {
return row;
}
public void setRow(int row) {
this.row = row;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}