267 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
TokenBucket 2.0!
Sat, Feb 7th 2015 32
Token bucket!
Sun, Jun 8th 2014 22
"Employee of the Quarter" (not)
Fri, Dec 27th 2013 21
Geek-o-Terica 17: Accuracy vs. Precision, The Time Drift Chronicles
Sun, Sep 8th 2013 20
Some Interesting Tech I’ve Been Involved With Lately
Sat, Apr 20th 2013 22
The Interesting Difference Between "Exception" and "RuntimeException" (Java)
Sat, Feb 2nd 2013 26
"Reflections on Reflecting Light" - Java program
Wed, May 9th 2012 20
Top 10
TokenBucket 2.0!
Sat, Feb 7th 2015 32
The Interesting Difference Between "Exception" and "RuntimeException" (Java)
Sat, Feb 2nd 2013 26
Token bucket!
Sun, Jun 8th 2014 22
Some Interesting Tech I’ve Been Involved With Lately
Sat, Apr 20th 2013 22
"Employee of the Quarter" (not)
Fri, Dec 27th 2013 21
Geek-o-Terica 17: Accuracy vs. Precision, The Time Drift Chronicles
Sun, Sep 8th 2013 20
"Reflections on Reflecting Light" - Java program
Wed, May 9th 2012 20
"Programming Domino With Java" - Fifth Slug
Mon, Nov 28th 2011 15
Backup your GMail account to NSF
Mon, Feb 28th 2011 14
"Programming Domino With Java" - Sixth Sip
Tue, Dec 6th 2011 12




Recent Blog Posts
32
TokenBucket 2.0!
Sat, Feb 7th 2015 8:07p   Bob Balaban
Greetings, Geeks! I went back and looked at the code I posted here several months ago for doing time-based access counting. I realized that it could be improved and cleaned up just a bit, so I'm sharing a revised version with you here. import java.util.Date; import java.util.LinkedList; public class TimeBasedAccessList { // This is the list of time values. New entries are always // added at the "tail", so the "head" is always the oldest value. //




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition