summaryrefslogtreecommitdiff
path: root/src/cli/runtime/PerisistentArrayList.cs
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2006-08-04 23:31:33 +0000
committerRich Hickey <richhickey@gmail.com>2006-08-04 23:31:33 +0000
commitcdd429f0d51b754ed0d2f4ab4cd9b90d320a3c0e (patch)
tree7f15ccd00531887f3abc56238fbdd23c585fd902 /src/cli/runtime/PerisistentArrayList.cs
parentee19adc3e5bc9e5b525dac99e9281f3db30d3ece (diff)
renaming
Diffstat (limited to 'src/cli/runtime/PerisistentArrayList.cs')
-rw-r--r--src/cli/runtime/PerisistentArrayList.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cli/runtime/PerisistentArrayList.cs b/src/cli/runtime/PerisistentArrayList.cs
index 3b9173a1..07e65f5e 100644
--- a/src/cli/runtime/PerisistentArrayList.cs
+++ b/src/cli/runtime/PerisistentArrayList.cs
@@ -33,18 +33,18 @@ PersistentArrayList(int size, Object defaultVal, float loadFactor, int count):ba
this._count = count;
}
-override public Object get(int i) {
+override public Object nth(int i) {
if(i >= _count)
throw new IndexOutOfRangeException();
- return base.get(i);
+ return base.nth(i);
}
-override public IArray set(int i,Object val) {
+override public IArray assocN(int i,Object val) {
if(i >= _count)
throw new IndexOutOfRangeException();
- return (PersistentArrayList) base.set(i, val);
+ return (PersistentArrayList) base.assocN(i, val);
}
override public int length(){
@@ -67,7 +67,7 @@ public PersistentArrayList add(Object val) {
grow();
}
}
- PersistentArrayList ret = (PersistentArrayList) base.set(_count, val);
+ PersistentArrayList ret = (PersistentArrayList) base.assocN(_count, val);
ret._count = _count + 1;
return ret;
}