Back to project page YesNoGame.
The source code is released under:
GNU General Public License
If you think the Android project YesNoGame 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 example.swa.yesnogame.domain.simple; /* w w w. j av a 2s . c om*/ /** * For convenience reasons we add a static counter for the mock here. All domain * objectsd should inherit from this base class. * * @author Hendrik.Stilke@siemens.com * */ public abstract class BaseObject { private static long sequence = 1000l; public static long nextId() { return sequence++; } }