com.notuvy.util
Class PeriodicSelector
java.lang.Object
com.notuvy.util.PeriodicSelector
- Direct Known Subclasses:
- PeriodicSelector.Alternate, PeriodicSelector.EveryN, PeriodicSelector.Random
public abstract class PeriodicSelector
- extends Object
A state holder that returns a boolean flag. The value of the
flag is dependent on the defined period.
User: Murali
Date: Sep 5, 2008
Time: 2:40:19 PM
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
LOG
protected static final org.apache.log4j.Logger LOG
PeriodicSelector
protected PeriodicSelector(int pModulus)
getValue
public int getValue()
getModulus
public int getModulus()
next
public boolean next()
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.