Back to project page AppSearchWidget.
The source code is released under:
Apache License
If you think the Android project AppSearchWidget 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.example.testwidget; /*from ww w .j a v a2 s .co m*/ public class LaunchStats { private int mUsageCount; private long mLastLaunchTimeSeconds; public LaunchStats(int usageCount, long lastLaunchTimeSeconds) { mUsageCount = usageCount; mLastLaunchTimeSeconds = lastLaunchTimeSeconds; } public void setUsageCount(int usageCount) { mUsageCount = usageCount; } public void incrementUsageCount() { mUsageCount++; } public int getUsageCount() { return mUsageCount; } public void setLastLaunchTimeSeconds(long lastLaunchTimeSeconds) { mLastLaunchTimeSeconds = lastLaunchTimeSeconds; } public long getLastLaunchTimeSeconds() { return mLastLaunchTimeSeconds; } }