|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Host
A "taggable" object. Implementing classes can have arbitrary labelled data attached to them. Currently, only classes, fields, methods and the Scene are Hosts. One example of a tag would be to store Boolean values, associated with array accesses, indicating whether bounds checks can be omitted.
Tag
Method Summary | |
---|---|
void |
addAllTagsOf(Host h)
Adds all the tags from h to this host. |
void |
addTag(Tag t)
Adds a tag. |
Tag |
getTag(String aName)
Returns the tag with the given name. |
List<Tag> |
getTags()
Gets a list of tags associated with the current object. |
boolean |
hasTag(String aName)
Returns true if this host has a tag with the given name. |
void |
removeAllTags()
Removes all the tags from this host. |
void |
removeTag(String name)
Removes the first tag with the given name. |
Method Detail |
---|
List<Tag> getTags()
Tag getTag(String aName)
void addTag(Tag t)
void removeTag(String name)
boolean hasTag(String aName)
void removeAllTags()
void addAllTagsOf(Host h)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |