DEADSOFTWARE

Mirror gpcp-32255
[gpcp-linux.git] / libs / java / VecRef.java
2 /** This is the runtime support for generic vectors.
3 *
4 * Written August 2004, John Gough.
5 *
6 *
7 *
8 */
10 package CP.CPJvec;
12 public class VecRef extends VecBase
13 {
14 public Object[] elms;
16 public void expand() {
17 Object[] tmp = new Object[this.elms.length * 2];
18 for (int i = 0; i < this.tide; i++) {
19 tmp[i] = this.elms[i];
20 }
21 this.elms = tmp;
22 }
23 }