org.jacorb.poa.util

Class 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.8 2004/05/06 12:40:01 nicolas Exp $

Author:
Steve Osselton

Constructor Summary

ByteArrayKey(byte[] array)
ByteArrayKey(ByteArrayKey bak)

Method Summary

boolean
equals(Object obj)
Overrides equals () in Object
byte[]
getBytes()
int
hashCode()
Overrides hashCode () in Object
String
toString()

Constructor Details

ByteArrayKey

public ByteArrayKey(byte[] array)


ByteArrayKey

public ByteArrayKey(ByteArrayKey bak)

Method Details

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()