mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/pm/CountingWakeLock.java
public CountingWakeLockHandle activateWithHandle()
    {
        activate();
        return new CountingWakeLockHandle();
    }
/**
     * Activate the wake lock with a handle supported by the Java try with resource mechanism.
     * 
     * @return
     *      handle that implements {@link AutoCloseable}
     * @see WakeLock#activate()
     */
Activate the wake lock with a handle supported by the Java try with resource mechanism.

@return
handle that implements  AutoCloseable
@see WakeLock#activate()
Activate the wake lock with a handle supported by the Java try with resource mechanism . @return handle that implements AutoCloseable @see WakeLock#activate ()
public CountingWakeLockHandle activateWithHandle()
    {
        activate();
        return new CountingWakeLockHandle();
    }
public CountingWakeLockHandle activateWithHandle ( ) { activate ( ) ; return new CountingWakeLockHandle ( ) ; }
Activate the wake lock with a handle supported by the Java try with resource mechanism.
Activate the wake lock with a handle supported by the Java try with resource mechanism .