org.jacorb.poa.util

Class ByteArrayKey

public class ByteArrayKey extends Object

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

Version: $Id: ByteArrayKey.java,v 1.8 2004/05/06 12:40:01 nicolas Exp $

Author: Steve Osselton

Constructor Summary
ByteArrayKey(byte[] array)
ByteArrayKey(ByteArrayKey bak)
Method Summary
booleanequals(Object obj)
Overrides equals () in Object
byte[]getBytes()
inthashCode()
Overrides hashCode () in Object
StringtoString()

Constructor Detail

ByteArrayKey

public ByteArrayKey(byte[] array)

ByteArrayKey

public ByteArrayKey(ByteArrayKey bak)

Method Detail

equals

public boolean equals(Object obj)
Overrides equals () in Object

getBytes

public byte[] getBytes()

hashCode

public int hashCode()
Overrides hashCode () in Object

toString

public String toString()