Android Open Source - sdl_tester_android Down Counter

From Project

Back to project page sdl_tester_android.


The source code is released under:

Copyright (c) 2014, Ford Motor Company All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...

If you think the Android project sdl_tester_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.

Java Source Code

package com.livio.sdl.utils;
//from w ww  .  ja v  a 2  s.c  o  m
 * Represents a simple down-counter.  The down-counter can be initialized with
 * a seed value to start counting from.  If initialized with no seed, the counter
 * will start from 0.
 * @author Mike Burke
public class DownCounter extends Counter{

  public DownCounter() {
  public DownCounter(int start){

  public int next() {
    return current--;


Java Source Code List