Android Open Source - RUflow Coordinate






From Project

Back to project page RUflow.

License

The source code is released under:

GNU General Public License

If you think the Android project RUflow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package is.ru.app;
/*from w ww.  jav  a 2  s  . c  om*/
/**
 * Created by olafurn on 9.9.2014.
 */
public class Coordinate {

    private int m_col;
    private int m_row;

    Coordinate (int col, int row) {
        m_col = col;
        m_row = row;
    }

    public int getCol() {
        return m_col;
    }

    public int getRow() {
        return m_row;
    }

    @Override
    public boolean equals(Object other)
    {
       if(!(other instanceof Coordinate))
       {
           return false;
       }
        Coordinate otherCo = (Coordinate) other;
        return otherCo.getCol() == this.getCol() && otherCo.getRow() == this.getRow();
    }
}




Java Source Code List

is.ru.app.Board.java
is.ru.app.Cellpath.java
is.ru.app.ColorListActivity.java
is.ru.app.Coordinate.java
is.ru.app.DbHelper.java
is.ru.app.FlowDbAdapter.java
is.ru.app.Global.java
is.ru.app.MainActivity.java
is.ru.app.MapPack.java
is.ru.app.Pack.java
is.ru.app.PlayActivity.java
is.ru.app.PuzzleSelectActivity.java
is.ru.app.Puzzle.java
is.ru.app.SelectActivity.java
is.ru.app.SuperPath.java