Interface ICommentManager


@Ser public interface ICommentManager
An interface for simple long-based comment management used by some engine components.
  • Method Details

    • getComments

      Map<Long,String> getComments()
      Get all comments.
      Returns:
      comments by address
    • getComment

      String getComment(long address)
      Retrieve a comment.
      Parameters:
      address - comment address
      Returns:
      comment, or null
    • setComment

      boolean setComment(long address, String value)
      Set a comment.
      Parameters:
      address - comment address
      value - comment text
      Returns:
      true on change
    • addComment

      boolean addComment(long address, String value)
      Add a comment.
      Parameters:
      address - comment address
      value - comment text
      Returns:
      true on change