org.apache.jackrabbit.spi
Class ItemInfoCache.Entry<T extends ItemInfo>
java.lang.Object
org.apache.jackrabbit.spi.ItemInfoCache.Entry<T>
- Type Parameters:
T - Wither a NodeInfo or a PropertyInfo.
- Enclosing interface:
- ItemInfoCache
public static class ItemInfoCache.Entry<T extends ItemInfo>
- extends java.lang.Object
This class represents a cache entry.
|
Constructor Summary |
ItemInfoCache.Entry(T info,
long generation)
Create a new cache entry containing info with a given generation. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
info
public final T extends ItemInfo info
- The
ItemInfo
generation
public final long generation
- The generation
ItemInfoCache.Entry
public ItemInfoCache.Entry(T info,
long generation)
- Create a new cache entry containing
info with a given generation.
- Parameters:
info - generation -
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals in class java.lang.Object
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.