Add AtomicBoolean and Switch
Merge pull request #154 from HCanber/atomicboolean-switch

Add AtomicBoolean and Switch