Interface ICommentManager
An interface for simple long-based comment management used by some engine components.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddComment(long address, String value) Add a comment.getComment(long address) Retrieve a comment.Get all comments.booleansetComment(long address, String value) Set a comment.
-
Method Details
-
getComments
Get all comments.- Returns:
- comments by address
-
getComment
Retrieve a comment.- Parameters:
address- comment address- Returns:
- comment, or null
-
setComment
Set a comment.- Parameters:
address- comment addressvalue- comment text- Returns:
- true on change
-
addComment
Add a comment.- Parameters:
address- comment addressvalue- comment text- Returns:
- true on change
-