equals(OtherLinkedListPointersForStep) {
        if (this.size() !== OtherLinkedListPointersForStep.size())
            return false;
        for (var i = 0; i < this.size(); i++) {
            if (!this.getPointer(i).equals(OtherLinkedListPointersForStep.getPointer(i)))
                return false;
        }
        return true;
    }
/**
     * checks if the current LinkedListPointersForStep is equal to the other LinkedListPointersForStep
     * @param {LinkedListPointersForStep} OtherLinkedListPointersForStep the other LinkedListPointersForStep that will be compared to the current LinkedListPointersForStep
     */
checks if the current LinkedListPointersForStep is equal to the other LinkedListPointersForStep
@param {LinkedListPointersForStep} OtherLinkedListPointersForStep the other LinkedListPointersForStep that will be compared to the current LinkedListPointersForStep
checks if the current LinkedListPointersForStep is equal to the other LinkedListPointersForStep @param { LinkedListPointersForStep } OtherLinkedListPointersForStep the other LinkedListPointersForStep that will be compared to the current LinkedListPointersForStep
equals(OtherLinkedListPointersForStep) {
        if (this.size() !== OtherLinkedListPointersForStep.size())
            return false;
        for (var i = 0; i < this.size(); i++) {
            if (!this.getPointer(i).equals(OtherLinkedListPointersForStep.getPointer(i)))
                return false;
        }
        return true;
    }
equals ( OtherLinkedListPointersForStep ) { if ( this . size ( ) !== OtherLinkedListPointersForStep . size ( ) ) return false ; for ( var i = 0 ; i < this . size ( ) ; i ++ ) { if ( ! this . getPointer ( i ) . equals ( OtherLinkedListPointersForStep . getPointer ( i ) ) ) return false ; } return true ; }
checks if the current LinkedListPointersForStep is equal to the other LinkedListPointersForStep
 @param {LinkedListPointersForStep} OtherLinkedListPointersForStep the other LinkedListPointersForStep that will be compared to the current LinkedListPointersForStep
checks if the current LinkedListPointersForStep is equal to the other LinkedListPointersForStep @param { LinkedListPointersForStep } OtherLinkedListPointersForStep the other LinkedListPointersForStep that will be compared to the current LinkedListPointersForStep