protected Select addElement(final AbstractElement<?> _element)
    {
        this.noSquashRequired = this.noSquashRequired && !(_element instanceof ISquash);
        if (!this.elements.isEmpty()) {
            final AbstractElement<?> prev = this.elements.get(this.elements.size() - 1);
            _element.setPrevious(prev);
        }
        this.elements.add(_element);
        return this;
    }
protected Select addElement ( final AbstractElement < ? > _element ) { this . noSquashRequired = this . noSquashRequired && ! ( _element instanceof ISquash ) ; if ( ! this . elements . isEmpty ( ) ) { final AbstractElement < ? > prev = this . elements . get ( this . elements . size ( ) - 1 ) ; _element . setPrevious ( prev ) ; } this . elements . add ( _element ) ; return this ; }
Adds the element.

@param _element the element
@return the select