org.jacorb.poa.util
Class ByteArrayKey

java.lang.Object
  extended byorg.jacorb.poa.util.ByteArrayKey

public class ByteArrayKey
extends java.lang.Object

This class wraps byte arrays so that they can be used as keys in hashtables.

Version:
$Id: ByteArrayKey.java,v 1.7 2003/10/29 12:00:30 simon.mcqueen Exp $
Author:
Steve Osselton

Constructor Summary
ByteArrayKey(byte[] array)
           
ByteArrayKey(ByteArrayKey bak)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Overrides equals () in Object
 byte[] getBytes()
           
 int hashCode()
          Overrides hashCode () in Object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteArrayKey

public ByteArrayKey(byte[] array)

ByteArrayKey

public ByteArrayKey(ByteArrayKey bak)
Method Detail

getBytes

public byte[] getBytes()

hashCode

public int hashCode()
Overrides hashCode () in Object


equals

public boolean equals(java.lang.Object obj)
Overrides equals () in Object


toString

public java.lang.String toString()