From 8122cb54b90c701a2e1ebd3f59919fa1a6ed4579 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 8 Feb 2018 13:14:55 +0100 Subject: [PATCH] Add some javadoc comments. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- Piles/Pile.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Piles/Pile.java b/Piles/Pile.java index 5654324..1c808c2 100644 --- a/Piles/Pile.java +++ b/Piles/Pile.java @@ -8,32 +8,32 @@ public class Pile { private int stack_head_index; /** - * [setSize description] - * @param int size [description] + * set the size of the internal array + * @param int size the size of the array */ private void setSize(int size) { array_size = size; } /** - * [getSize description] - * @return [description] + * get the size of the internal array + * @return the integer size of the internal array */ private int getSize() { return array_size; } /** - * [setHeadIndex description] - * @param int index [description] + * set the stack head index + * @param int index the stack head index */ private void setHeadIndex(int index) { stack_head_index = index; } /** - * [getHeadIndex description] - * @return [description] + * get the stack head current index + * @return the integer stack head index */ private int getHeadIndex() { return stack_head_index; -- 2.34.1