~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/util/ILRUCacheable.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*******************************************************************************
2
 
 * Copyright (c) 2002, 2006 IBM Corporation and others.
3
 
 * All rights reserved. This program and the accompanying materials
4
 
 * are made available under the terms of the Eclipse Public License v1.0
5
 
 * which accompanies this distribution, and is available at
6
 
 * http://www.eclipse.org/legal/epl-v10.html
7
 
 *
8
 
 * Contributors:
9
 
 * Rational Software - Initial API and implementation
10
 
 *******************************************************************************/
11
 
package org.eclipse.cdt.internal.core.util;
12
 
 
13
 
 
14
 
/**
15
 
 * Types implementing this interface can occupy a variable amount of space
16
 
 * in an LRUCache.  Cached items that do not implement this interface are
17
 
 * considered to occupy one unit of space.
18
 
 *
19
 
 * @see LRUCache
20
 
 * 
21
 
 * This interface is similar to the JDT ILRUCacheable interface.
22
 
 */
23
 
public interface ILRUCacheable {
24
 
        /**
25
 
         * Returns the space the receiver consumes in an LRU Cache.  The default space
26
 
         * value is 1.
27
 
         *
28
 
         * @return int Amount of cache space taken by the receiver
29
 
         */
30
 
        public int getCacheFootprint();
31
 
 
32
 
}