1 Clazz.load(["java.util.AbstractCollection","$.Queue"],"java.util.AbstractQueue",["java.lang.IllegalArgumentException","$.IllegalStateException","$.NullPointerException","java.util.NoSuchElementException"],function(){
2 c$=Clazz.declareType(java.util,"AbstractQueue",java.util.AbstractCollection,java.util.Queue);
3 Clazz.overrideMethod(c$,"add",
6 throw new NullPointerException();
9 }throw new IllegalStateException();
11 Clazz.overrideMethod(c$,"addAll",
14 throw new NullPointerException();
16 throw new IllegalArgumentException();
17 }return Clazz.superCall(this,java.util.AbstractQueue,"addAll",[c]);
18 },"java.util.Collection");
19 Clazz.defineMethod(c$,"remove",
23 throw new java.util.NoSuchElementException();
26 Clazz.overrideMethod(c$,"element",
30 throw new java.util.NoSuchElementException();
33 Clazz.overrideMethod(c$,"clear",