public void add ( Object value ) { _list [ _lastPos ++ % _list . length ] = value ; // keep last pos cycling from keepCount to 2*keepCount-1 if ( _lastPos == 2 * _list . length ) { _lastPos = _list . length ; } }
Adds the specified value to the list .