cf
Class ClassFile.ByteArray
java.lang.Object
cf.ClassFile.ByteArray
- Enclosing class:
- ClassFile
protected static class ClassFile.ByteArray
- extends Object
An instance of the inner class ByteArray is an
immutable wrapper to a byte[] object. It provides the
array with equals and hashCode methods,
which are necessary so that the array can be used as a key in
constant pool hash table.
- Version:
- $Revision: 1.135 $ $Date: 2003/11/23 06:58:30 $
- Author:
- Zvi Har’El
- See Also:
String.hashCode(),
ClassFile.cPHash
|
Field Summary |
(package private) byte[] |
bytes
|
(package private) int |
hashCode
|
bytes
final byte[] bytes
hashCode
final int hashCode
ClassFile.ByteArray
ClassFile.ByteArray(byte[] b)
hashCode
public final int hashCode()
- Overrides:
hashCode in class Object
equals
public final boolean equals(Object o)
- Overrides:
equals in class Object
write
final void write(OutputStream out)
throws IOException
- Throws:
IOException
Copyright ©
Zvi Har’El
$Date: 2007/10/15 13:50:30$