Code example for AtomicBoolean

Methods: get

0
    public long getNumberOfAccesses() { 
        return _accesses;
    } 
 
    public boolean isRemoved() { 
      return _removed.get();
    } 
 
    public void setRemoved(boolean removed) {
      _removed.set(removed);
    } 
 
}