public abstract class GenericIdentifiable extends Object implements Identifiable
Constructor and Description |
---|
GenericIdentifiable(int id,
byte[] data) |
GenericIdentifiable(int id,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getData() |
int |
getId()
Return the (type) identity of this entity.
|
int |
hashCode() |
String |
toString() |
void |
write(OutputStream os)
Write this object directly to the output stream.
|
public GenericIdentifiable(int id, InputStream is)
public GenericIdentifiable(int id, byte[] data)
public int getId()
Identifiable
getId
in interface Identifiable
public void write(OutputStream os)
Writeable
public byte[] getData()
Copyright © 2021 JBoss by Red Hat. All rights reserved.