X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/ICacheEnumeration.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/ICacheEnumeration.java index 1c77c5e..a170c32 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/ICacheEnumeration.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/ICacheEnumeration.java @@ -13,26 +13,29 @@ package net.sourceforge.phpdt.internal.core.util; import java.util.Enumeration; /** - * The ICacheEnumeration is used to iterate over both the keys - * and values in an LRUCache. The getValue() method returns the - * value of the last key to be retrieved using nextElement(). - * The nextElement() method must be called before the + * The ICacheEnumeration is used to iterate over both the keys + * and values in an LRUCache. The getValue() method returns the + * value of the last key to be retrieved using nextElement(). + * The nextElement() method must be called before the * getValue() method. - * - *

The iteration can be made efficient by making use of the fact that values in - * the cache (instances of LRUCacheEntry), know their key. For this reason, - * Hashtable lookups don't have to be made at each step of the iteration. - * - *

Modifications to the cache must not be performed while using the - * enumeration. Doing so will lead to an illegal state. - * + * + *

+ * The iteration can be made efficient by making use of the fact that values in + * the cache (instances of LRUCacheEntry), know their key. For + * this reason, Hashtable lookups don't have to be made at each step of the + * iteration. + * + *

+ * Modifications to the cache must not be performed while using the enumeration. + * Doing so will lead to an illegal state. + * * @see LRUCache */ public interface ICacheEnumeration extends Enumeration { /** - * Returns the value of the previously accessed key in the enumeration. - * Must be called after a call to nextElement(). - * + * Returns the value of the previously accessed key in the enumeration. Must + * be called after a call to nextElement(). + * * @return Value of current cache entry */ public Object getValue();