Code example for LinkedList

Methods: getFirst, size

0
                mThread.notify();
            } 
            mThread = null;
        } 
        doVibratorOff(); 
        mH.removeCallbacks(mVibrationRunnable);
        reportFinishVibrationLocked(); 
    } 
 
    // Lock held on mVibrations 
    private void startNextVibrationLocked() { 
        if (mVibrations.size() <= 0) {
            reportFinishVibrationLocked(); 
            mCurrentVibration = null;
            return; 
        } 
        mCurrentVibration = mVibrations.getFirst();
        startVibrationLocked(mCurrentVibration);
    } 
 
    // Lock held on mVibrations