Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / util / AbstractQueue.js
index 50c61dd..6ec6786 100644 (file)
@@ -1,40 +1,40 @@
-Clazz.load(["java.util.AbstractCollection","$.Queue"],"java.util.AbstractQueue",["java.lang.IllegalArgumentException","$.IllegalStateException","$.NullPointerException","java.util.NoSuchElementException"],function(){\r
-c$=Clazz.declareType(java.util,"AbstractQueue",java.util.AbstractCollection,java.util.Queue);\r
-Clazz.overrideMethod(c$,"add",\r
-function(o){\r
-if(null==o){\r
-throw new NullPointerException();\r
-}if(this.offer(o)){\r
-return true;\r
-}throw new IllegalStateException();\r
-},"~O");\r
-Clazz.overrideMethod(c$,"addAll",\r
-function(c){\r
-if(null==c){\r
-throw new NullPointerException();\r
-}if(this===c){\r
-throw new IllegalArgumentException();\r
-}return Clazz.superCall(this,java.util.AbstractQueue,"addAll",[c]);\r
-},"java.util.Collection");\r
-Clazz.defineMethod(c$,"remove",\r
-function(){\r
-var o=this.poll();\r
-if(null==o){\r
-throw new java.util.NoSuchElementException();\r
-}return o;\r
-});\r
-Clazz.overrideMethod(c$,"element",\r
-function(){\r
-var o=this.peek();\r
-if(null==o){\r
-throw new java.util.NoSuchElementException();\r
-}return o;\r
-});\r
-Clazz.overrideMethod(c$,"clear",\r
-function(){\r
-var o;\r
-do{\r
-o=this.poll();\r
-}while(null!=o);\r
-});\r
-});\r
+Clazz.load(["java.util.AbstractCollection","$.Queue"],"java.util.AbstractQueue",["java.lang.IllegalArgumentException","$.IllegalStateException","$.NullPointerException","java.util.NoSuchElementException"],function(){
+c$=Clazz.declareType(java.util,"AbstractQueue",java.util.AbstractCollection,java.util.Queue);
+Clazz.overrideMethod(c$,"add",
+function(o){
+if(null==o){
+throw new NullPointerException();
+}if(this.offer(o)){
+return true;
+}throw new IllegalStateException();
+},"~O");
+Clazz.overrideMethod(c$,"addAll",
+function(c){
+if(null==c){
+throw new NullPointerException();
+}if(this===c){
+throw new IllegalArgumentException();
+}return Clazz.superCall(this,java.util.AbstractQueue,"addAll",[c]);
+},"java.util.Collection");
+Clazz.defineMethod(c$,"remove",
+function(){
+var o=this.poll();
+if(null==o){
+throw new java.util.NoSuchElementException();
+}return o;
+});
+Clazz.overrideMethod(c$,"element",
+function(){
+var o=this.peek();
+if(null==o){
+throw new java.util.NoSuchElementException();
+}return o;
+});
+Clazz.overrideMethod(c$,"clear",
+function(){
+var o;
+do{
+o=this.poll();
+}while(null!=o);
+});
+});