public int getAndIncrement (T obj)

Atomically increments by one the current value of the field of the given object managed by this updater.

Parameters:
obj    An object whose field to get and set

Returns:  the previous value