BR
Member since Mar 24, 2018
- Profile: /members/13722-br.htm
- Comments: 1
Recent Blog Comments By BR
-
Using Java's AtomicInteger To Loop Over A Range Of Numbers In ColdFusion
Posted on Mar 24, 2018 at 9:51 AM
Hi Ben, if you are using java >= 1.8, you can use the methods updateAndGet(IntUnaryOperator updateFunction) and getAndUpdate(IntUnaryOperator updateFunction). It is simpler, because you don't need the loop in your code (these methods use the loop inside). I created a basic version of this count... read more »