2003/12/07 09:57:15
[org.ibex.core.git] / src / org / xwt / util / Vec.java
index 70be7d9..e04be25 100644 (file)
@@ -1,4 +1,10 @@
-// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright (C) 2003 Adam Megacz <adam@xwt.org> all rights reserved.
+//
+// You may modify, copy, and redistribute this code under the terms of
+// the GNU Library Public License version 2.1, with the exception of
+// the portion of clause 6a after the semicolon (aka the "obnoxious
+// relink clause")
+
 package org.xwt.util;
 
 import java.util.*;
@@ -17,6 +23,7 @@ public final class Vec implements Serializable {
     
     public Vec() { this(10); }
     public Vec(int i) { store = new Object[i]; }
+    public Vec(int i, Object[] store) { size = i; this.store = store; }
     
     private void grow() { grow(store.length * 2); }
     private void grow(int newsize) {