diff --git a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java index 7d950ec..e8d2d5a 100644 --- a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java +++ b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java @@ -182,7 +182,7 @@ public void fillData(long offset, long length) { } /** - * Fills a buffer of length {@code length} with the byte {@byte b}, then writes + * Fills a buffer of length {@code length} with the byte {@code b}, then writes * it to the offset {@code offset}. * {@inheritDoc} * @throws MemoryAccessException if memory writing fails. See {@link MemoryWriter#write}. diff --git a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java index 9437887..179fb16 100644 --- a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java +++ b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java @@ -1,5 +1,13 @@ package cx.corp.lacuna.ui.view; +/** + * Represents a view in the MVP pattern. + * @param the type of the callbacks used by the view. + */ public interface View { + /** + * Attaches the provided callbacks to this view. + * @param callbacks the callbacks. + */ void attach(TCallbacks callbacks); }