org.apache.xindice.core.data
Class Key
java.lang.Object
|
+--org.apache.xindice.core.data.Value
|
+--org.apache.xindice.core.data.Key
- All Implemented Interfaces:
- java.lang.Comparable
- public final class Key
- extends Value
Key extends Value by providing a hash value for the Key.
- Version:
- CVS $Revision: 1.6 $, $Date: 2004/02/08 02:49:44 $
Fields inherited from class org.apache.xindice.core.data.Value |
data, len, pos |
Constructor Summary |
Key(byte[] data)
|
Key(byte[] data,
int pos,
int len)
|
Key(java.lang.String data)
|
Key(Value value)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Key
public Key(Value value)
Key
public Key(byte[] data)
Key
public Key(byte[] data,
int pos,
int len)
Key
public Key(java.lang.String data)
getHash
public int getHash()
equals
public boolean equals(Value value)
- Overrides:
equals
in class Value
hashCode
public int hashCode()
- Overrides:
hashCode
in class Value
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class Value
Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.