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.
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 |
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-2001 The Apache Software Foundation