|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--inria.util.Entity
an entity is anything identified by an interger ID.
Field Summary | |
protected int |
id
|
Constructor Summary | |
Entity(int id)
constructs an Entity. |
Method Summary | |
boolean |
equals(Entity obj)
compares with the given entity for equality. |
int |
getID()
returns the id. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int id
Constructor Detail |
public Entity(int id)
id
- the entity id.Method Detail |
public boolean equals(Entity obj)
obj
- the entity to compare.public int getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.