|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectneustore.base.IntKey
public class IntKey
An integer key.
Field Summary | |
---|---|
int |
key
|
Constructor Summary | |
---|---|
IntKey(int _key)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new copy of the object. |
int |
compareTo(Key key2)
|
boolean |
equals(java.lang.Object key2)
|
int |
maxSize()
Returns the maximum number of bytes this type of object may occupy. |
void |
read(java.io.DataInputStream in)
Reads the object from an input stream. |
int |
size()
|
void |
write(java.io.DataOutputStream out)
Writes the object to an output stream. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int key
Constructor Detail |
---|
public IntKey(int _key)
Method Detail |
---|
public java.lang.Object clone()
Key
clone
in interface Key
clone
in class java.lang.Object
public int size()
size
in interface Key
public int maxSize()
Key
maxSize
in interface Key
public void read(java.io.DataInputStream in) throws java.io.IOException
Key
read
in interface Key
in
- input stream
java.io.IOException
public void write(java.io.DataOutputStream out) throws java.io.IOException
Key
write
in interface Key
out
- output stream
java.io.IOException
public int compareTo(Key key2)
compareTo
in interface java.lang.Comparable<Key>
public boolean equals(java.lang.Object key2)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |