public Integer untilAtomic(final AtomicInteger atomic, final Matcher<? super Integer> matcher) {
    """
	Await until a Atomic variable has a value matching the specified
	{@link org.hamcrest.Matcher}. E.g.
	<p>&nbsp;</p>
	<pre>
	await().untilAtomic(myAtomic, is(greaterThan(2)));
	</pre>
	
	@param atomic  the atomic variable
	@param matcher the matcher The hamcrest matcher that checks whether the
	condition is fulfilled.
	@return a {@link java.lang.Integer} object.
	@throws org.awaitility.core.ConditionTimeoutException If condition was not fulfilled within the given time period.
    """
        return until(new CallableHamcrestCondition<Integer>(new Callable<Integer>() {
            public Integer call() {
                return atomic.get();
            }
        }, matcher, generateConditionSettings()));
    }
public Integer untilAtomic(final AtomicInteger atomic, final Matcher<? super Integer> matcher) {
        return until(new CallableHamcrestCondition<Integer>(new Callable<Integer>() {
            public Integer call() {
                return atomic.get();
            }
        }, matcher, generateConditionSettings()));
    }
public Integer untilAtomic ( final AtomicInteger atomic , final Matcher < ? super Integer > matcher ) { return until ( new CallableHamcrestCondition < Integer > ( new Callable < Integer > ( ) { public Integer call ( ) { return atomic . get ( ) ; } } , matcher , generateConditionSettings ( ) ) ) ; }
Await until a Atomic variable has a value matching the specified
{@link org.hamcrest.Matcher}. E.g.
<p>&nbsp;</p>
<pre>
await().untilAtomic(myAtomic, is(greaterThan(2)));
</pre>

@param atomic  the atomic variable
@param matcher the matcher The hamcrest matcher that checks whether the
condition is fulfilled.
@return a {@link java.lang.Integer} object.
@throws org.awaitility.core.ConditionTimeoutException If condition was not fulfilled within the given time period.
Await until a Atomic variable has a value matching the specified { @link org . hamcrest . Matcher } . E . g . <p > &nbsp ; < / p > <pre > await () . untilAtomic ( myAtomic is ( greaterThan ( 2 ))) ; < / pre >