com.intel.gpe.clients.api.cache
Class IdChain
java.lang.Object
com.intel.gpe.clients.api.cache.IdChain
public class IdChain
- extends java.lang.Object
The chain of keys that is an identifier in the cache.
- Version:
- $Id: IdChain.java,v 1.1 2006/04/11 08:51:52 lukichev Exp $
- Author:
- Alexander Lukichev
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IdChain
public IdChain(java.lang.Object key)
IdChain
public IdChain(java.lang.Object key,
IdChain parent)
getKey
public java.lang.Object getKey()
getParent
public IdChain getParent()
toList
public java.util.List toList()
- Represent the chain as the
List
.
- Returns:
- The representation as
List
prefix
public boolean prefix(IdChain prefix)
- Test if the chain start with the prefix.
- Parameters:
prefix
- The prefix
- Returns:
true
if the chain starts with the prefix
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008. All Rights Reserved.