1 Clazz.load(["java.util.AbstractList"],"java.util.AbstractSequentialList",["java.lang.IndexOutOfBoundsException"],function(){
2 c$=Clazz.declareType(java.util,"AbstractSequentialList",java.util.AbstractList);
3 Clazz.defineMethod(c$,"add",
4 function(location,object){
5 this.listIterator(location).add(object);
7 Clazz.defineMethod(c$,"addAll",
8 function(location,collection){
9 var it=this.listIterator(location);
10 var colIt=collection.iterator();
11 var next=it.nextIndex();
12 while(colIt.hasNext()){
16 return next!=it.nextIndex();
17 },"~N,java.util.Collection");
18 Clazz.overrideMethod(c$,"get",
21 return this.listIterator(location).next();
23 if(Clazz.instanceOf(e,java.util.NoSuchElementException)){
24 throw new IndexOutOfBoundsException();
30 Clazz.overrideMethod(c$,"iterator",
32 return this.listIterator(0);
34 Clazz.defineMethod(c$,"remove",
37 var it=this.listIterator(location);
42 if(Clazz.instanceOf(e,java.util.NoSuchElementException)){
43 throw new IndexOutOfBoundsException();
49 Clazz.overrideMethod(c$,"set",
50 function(location,object){
51 var it=this.listIterator(location);