code: public Object opt( int index ) {
        return (index < 0 || index >= size()) ? null : this.elements.get( index );
     }
docs: Get the optional object value associated with an index.
  
  @param index The index must be between 0 and size() - 1.
  @return An object value, or null if there is no object at that index.