code: private void addHead(I_CmsLruCacheObject theCacheObject) {
  
          // set the list pointers correct
          if (m_objectCount > 0) {
              // there is at least 1 object already in the list
              I_CmsLruCacheObject oldHead = m_listHead;
              oldHead.setNextLruObject(theCacheObject);
              theCacheObject.setPreviousLruObject(oldHead);
              m_listHead = theCacheObject;
          } else {
              // it is the first object to be added to the list
              m_listTail = theCacheObject;
              m_listHead = theCacheObject;
              theCacheObject.setPreviousLruObject(null);
          }
          theCacheObject.setNextLruObject(null);
  
          // update cache stats. and notify the cached object
          increaseCache(theCacheObject);
      }
docs: Adds a cache object as the new haed to the list of all cached objects in this cache.<p>
  
  @param theCacheObject the object being added as the new head to the list of all cached objects