void function ( ) { velocityBufferMode = LAST_UPDATE ; if ( ! velocityUpdates . isEmpty ( ) ) { Object loc0 = velocityUpdates . lastElement ( ) ; velocityUpdates . removeAllElements ( ) ; velocityUpdates . addElement ( loc0 ) ; } }
sets the buffering mode of the listener to record and return only the most recent the last , the latest velocityupdate . concode_field_sep Vector trackerUpdates concode_elem_sep Vector accelerationUpdates concode_elem_sep int LAST_UPDATE concode_elem_sep int velocityBufferMode concode_elem_sep Vector velocityUpdates concode_elem_sep int accelerationBufferMode concode_elem_sep int ALL_UPDATES concode_elem_sep int trackerBufferMode concode_field_sep void setModeAllAccelerationUpdates concode_elem_sep void trackerAccelerationUpdate concode_elem_sep void setModeLastAccelerationUpdate concode_elem_sep int getModeAccelerationUpdate concode_elem_sep void setModeLastTrackerUpdate concode_elem_sep void trackerPositionUpdate concode_elem_sep int getModeTrackerUpdate concode_elem_sep Vector getVelocityUpdate concode_elem_sep TrackerRemote.AccelerationUpdate getLastAccelerationUpdate concode_elem_sep TrackerRemote.VelocityUpdate getLastVelocityUpdate concode_elem_sep int getModeVelocityUpdate concode_elem_sep TrackerRemote.TrackerUpdate getLastTrackerUpdate concode_elem_sep Vector getTrackerUpdate concode_elem_sep void setModeAllTrackerUpdates concode_elem_sep void setModeAllVelocityUpdates concode_elem_sep Vector getAcclerationUpdate concode_elem_sep void trackerVelocityUpdate