com.sleepycat.je.tree
Class BINReference

java.lang.Object
  extended by com.sleepycat.je.tree.BINReference

public class BINReference
extends Object

A class that embodies a reference to a BIN that does not rely on a Java reference to the actual BIN.


Field Summary
protected  byte[] idKey
           
 
Constructor Summary
BINReference(long nodeId, DatabaseId databaseId, byte[] idKey)
           
 
Method Summary
 boolean equals(Object obj)
          Compare two BINReferences.
 DatabaseId getDatabaseId()
           
 byte[] getKey()
           
 long getNodeId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

idKey

protected byte[] idKey
Constructor Detail

BINReference

BINReference(long nodeId,
             DatabaseId databaseId,
             byte[] idKey)
Method Detail

getNodeId

public long getNodeId()

getDatabaseId

public DatabaseId getDatabaseId()

getKey

public byte[] getKey()

equals

public boolean equals(Object obj)
Compare two BINReferences.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2012 Oracle. All rights reserved.