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()
IdentifiablegetId in interface Identifiablepublic void write(OutputStream os)
Writeablepublic byte[] getData()
Copyright © 2018 JBoss by Red Hat. All rights reserved.