数据结构学习之冒泡算法
class ArrayBub{ private long[] a; private int nElems; public ArrayBub(int max) { a = new long[max]; nElems = 0; } public void insert(long value) { a[nElems] =