void (int index) { if (index == myBack) { myBack = myCache[index].prev; } else { myCache[myCache[index].next].prev = myCache[index].prev; } if (index == myTop) { myTop = myCache[index].next; } else { myCache[myCache[index].prev].next = myCache[index].next; } }