Fix javadoc problem
This commit is contained in:
parent
93c05fdde7
commit
a60676119d
1 changed files with 4 additions and 5 deletions
|
@ -68,7 +68,7 @@ public class BinaryHeapFormatter {
|
|||
/**
|
||||
* Creates a new context by appending a branch to this context.
|
||||
*
|
||||
* @param n Number of spaces to add to the margin, or {@code null} to use
|
||||
* @param count Number of spaces to add to the margin, or {@code null} to use
|
||||
* the length of the string.
|
||||
* @param label Name of the branch.
|
||||
*
|
||||
|
@ -156,13 +156,12 @@ public class BinaryHeapFormatter {
|
|||
* heap.
|
||||
*
|
||||
* @param heap The binary heap to display.
|
||||
// * @param maxElement Maximum number of elements to display. or {@code -1} to
|
||||
// * display all the elements.
|
||||
* @param max_elements Maximum number of elements to display. or {@code -1} to
|
||||
* display all the elements.
|
||||
*
|
||||
* @return a string containing a sorted view the given binary heap.
|
||||
*/
|
||||
public static <E extends Comparable<E>> String toStringSorted(BinaryHeap<E> heap,
|
||||
int max_elements) {
|
||||
public static <E extends Comparable<E>> String toStringSorted(BinaryHeap<E> heap, int max_elements) {
|
||||
String result = "";
|
||||
final BinaryHeap<E> copy = new BinaryHeap<E>(heap);
|
||||
|
||||
|
|
Loading…
Reference in a new issue