public void assignIndexes() { // order is arbitrary, but stable: int index = 0; for (Bucket bucket : _buckets) { while (bucket != null) { bucket.value.assignIndex(index++); bucket = bucket.next; } } }
public void assignIndexes() { // order is arbitrary, but stable: int index = 0; for (Bucket bucket : _buckets) { while (bucket != null) { bucket.value.assignIndex(index++); bucket = bucket.next; } } }
public void assignIndexes() { // order is arbitrary, but stable: int index = 0; for (Bucket bucket : _buckets) { while (bucket != null) { bucket.value.assignIndex(index++); bucket = bucket.next; } } }
public void assignIndexes() { // order is arbitrary, but stable: int index = 0; for (Bucket bucket : _buckets) { while (bucket != null) { bucket.value.assignIndex(index++); bucket = bucket.next; } } }
public void assignIndexes() { // order is arbitrary, but stable: int index = 0; for (Bucket bucket : _buckets) { while (bucket != null) { bucket.value.assignIndex(index++); bucket = bucket.next; } } }