abstract class BubbleSorter extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
length |
private int |
operations |
Constructor and Description |
---|
BubbleSorter() |
Modifier and Type | Method and Description |
---|---|
protected int |
doSort() |
protected abstract boolean |
outOfOrder(int index) |
protected abstract void |
swap(int index) |
private int operations
protected int length
BubbleSorter()
protected int doSort()
protected abstract void swap(int index)
protected abstract boolean outOfOrder(int index)