@Override
    @OverridingMethodsMustInvokeSuper
    protected void updateListAfterPut(CacheEntry<K, V> newEntry) {
        if (_last == null) {
            _last = newEntry;
            _first = newEntry;
        } else {
            _first.setPrevious(newEntry);
            newEntry.setNext(_first);
            setFirst(newEntry);
        }
    }
@Override
    @OverridingMethodsMustInvokeSuper
    protected void updateListAfterPut(CacheEntry<K, V> newEntry) {
        if (_last == null) {
            _last = newEntry;
            _first = newEntry;
        } else {
            _first.setPrevious(newEntry);
            newEntry.setNext(_first);
            setFirst(newEntry);
        }
    }
@ Override @ OverridingMethodsMustInvokeSuper protected void updateListAfterPut ( CacheEntry < K , V > newEntry ) { if ( _last == null ) { _last = newEntry ; _first = newEntry ; } else { _first . setPrevious ( newEntry ) ; newEntry . setNext ( _first ) ; setFirst ( newEntry ) ; } }
Add the new CacheEntry <b>before</b> the rest.
Add the new CacheEntry <b > before< / b > the rest .