Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
private int array_size;
private int head_index;
+ /**
+ * [Pile description]
+ * @param int size [description]
+ */
+ Pile(int size) {
+ int_array = new int[size];
+ setSize(size);
+ setHeadIndex(0);
+ }
+
/**
* set the size of the internal array
* @param int size the size of the array
return head_index;
}
- /**
- * [Pile description]
- * @param int size [description]
- */
- Pile(int size) {
- int_array = new int[size];
- setSize(size);
- setHeadIndex(0);
- }
-
/**
* [empiler description]
* @param int value [description]