IPv6TestAdapter v47 build 0.8

com.testingtech.ttcn.tri
Class BytesHash

java.lang.Object
  extended bycom.testingtech.ttcn.tri.BytesHash

public class BytesHash
extends java.lang.Object

The intention of this class is to provide an object based on byte information usable as key for a hashmap.

Author:
dte

Constructor Summary
BytesHash(byte[] bytes)
          The constructor of this class.
 
Method Summary
 boolean equals(java.lang.Object ndam)
           
 byte[] getBytes()
           
 int hashCode()
           
 void setBytes(byte[] bytes)
           
 java.lang.String toString()
          Returns a string in the format "BytesHash: " + bytes in hex representation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BytesHash

public BytesHash(byte[] bytes)
The constructor of this class. Setting the bytes.

Parameters:
bytes -
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object ndam)

getBytes

public byte[] getBytes()
Returns:
Returns the f_bytes.

setBytes

public void setBytes(byte[] bytes)
Parameters:
bytes - The f_bytes to set.

toString

public java.lang.String toString()
Returns a string in the format "BytesHash: " + bytes in hex representation.


IPv6TestAdapter v47 build 0.8

Submit a bug or feature

IPv6TestAdapter is a trademark or registered trademark of Testing Technologies IST GmbH in Germany and possibly in other countries.
(c) Copyright 2001-2005 Testing Technologies IST GmbH, Rosenthaler Str. 13, 10119 Berlin, Germany. All Rights Reserved.