C - the class which holds the target fieldT - the type of the value to injectpublic final class AtomicReferenceFieldUpdaterInjector<C,T> extends Object implements Injector<T>
AtomicReferenceFieldUpdater.| Constructor and Description |
|---|
AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater,
Value<C> target)
Construct a new instance.
|
public AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater, Value<C> target)
updater - the updater to inject totarget - the target object upon which to injectpublic void inject(T value)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.