Back to project page how-many-squirrels-android.
The source code is released under:
GNU General Public License
If you think the Android project how-many-squirrels-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.howmuchof.squirrels.android; //from www. j a v a 2 s .c o m /* * How many squirrels: tool for young naturalist * * This application is created within the internship * in the Education Department of Tomsksoft, http://tomsksoft.com * Idea and leading: Sergei Borisov * * This software is licensed under a GPL v3 * http://www.gnu.org/licenses/gpl.txt * * Created by Viacheslav Voronov on 4/14/2014 */ public class Squirrel { int _id; int _amount; long _date; public Squirrel(){ } public Squirrel (int id, int amount, long date){ this._id = id; this._amount = amount; this._date = date; } public void setID(int id){ this._id = id; } public void setAmount(int amount){ this._amount = amount; } public void setDate(long date){ this._date = date; } public int getID(){ return _id; } public int getAmount(){ return _amount; } public long getDate(){ return _date; } public String toString(){ return _id + " " + _amount + " " + _date; } }