Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core.util;

Types implementing this interface can occupy a variable amount of space in an LRUCache. Cached items that do not implement this interface are considered to occupy one unit of space.

See also:
LRUCache
public interface ILRUCacheable {
Returns the space the receiver consumes in an LRU Cache. The default space value is 1.

Returns:
int Amount of cache space taken by the receiver
	public int getCacheFootprint();
New to GrepCode? Check out our FAQ X