src/Utility/External/LRUCache.js
/**
     * Delete an element from the LRUCache
     *
     * @param {String} key
     * @returns {Boolean} - Wether it deleted the item or not
     * @memberof LRUCache
     */
Delete an element from the LRUCache
@param {String} key
@returns {Boolean} - Wether it deleted the item or not
@memberof LRUCache
Delete an element from the LRUCache @param { String } key @returns { Boolean } - Wether it deleted the item or not @memberof LRUCache
delete(key) {
        const node = this.cache.get(key);
        if (node.prev !== null) {
            node.prev.next = node.next;
        } else {
            this.head = node.next;
        }
        if (node.next !== null) {
            node.next.prev = node.prev;
        } else {
            this.tail = node.prev;
        }
        return this.cache.delete(key);
    }
delete ( key ) { const node = this . cache . get ( key ) ; if ( node . prev !== null ) { node . prev . next = node . next ; } else { this . head = node . next ; } if ( node . next !== null ) { node . next . prev = node . prev ; } else { this . tail = node . prev ; } return this . cache . delete ( key ) ; }
Delete an element from the LRUCache
 @param {String} key
 @returns {Boolean} - Wether it deleted the item or not
 @memberof LRUCache
Delete an element from the LRUCache @param { String } key @returns { Boolean } - Wether it deleted the item or not @memberof LRUCache