1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 17:02:53 +00:00

Written javadoc for many classes

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-14 01:51:40 -03:00
parent 14b928cc3b
commit e9c6f1b027
85 changed files with 1205 additions and 26 deletions

View File

@@ -15,9 +15,20 @@ import com.l2jserver.model.world.WorldObject;
* the {@link WorldObject} type
*/
public abstract class ObjectID<T extends WorldObject> extends ID {
/**
* Creates a new instance
*
* @param id
* the raw id
*/
protected ObjectID(int id) {
super(id);
}
/**
* Returns the {@link WorldObject} associated with this {@link ID}
*
* @return the {@link WorldObject} if existent, <tt>null</tt> otherwise
*/
public abstract T getObject();
}