public class UtilIOTest.TestBinarizable extends java.lang.Object implements Binarizable
Modifier and Type | Field and Description |
---|---|
private int |
integer |
private java.lang.String |
name |
Constructor and Description |
---|
UtilIOTest.TestBinarizable() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getInteger() |
java.lang.String |
getName() |
private UtilIOTest |
getOuterType() |
int |
hashCode() |
void |
parseBinary(ByteArray byteArray)
Parse the array for fill binarizable information.
|
void |
serializeBinary(ByteArray byteArray)
Write the binarizable information inside a byte array.
|
void |
setInteger(int integer) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
private UtilIOTest getOuterType()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getInteger()
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public void parseBinary(ByteArray byteArray)
Binarizable
Binarizable.serializeBinary(ByteArray)
for fill informationparseBinary
in interface Binarizable
byteArray
- Byte array to parsepublic void serializeBinary(ByteArray byteArray)
Binarizable
Binarizable.parseBinary(ByteArray)
for read informationserializeBinary
in interface Binarizable
byteArray
- Byte array where writepublic void setInteger(int integer)
public void setName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object