jan_flanders

Untitled

Apr 29th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-31 : Field remove has different type than in java.util.Collection
  2. ./lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-31 : Void -> java.util.concurrent.BlockingQueue.E should be arg0 : Dynamic -> Bool
  3. ./lib/red5hx/java/util/Queue.hx:6: lines 6-20 : Field remove has different type than in java.util.Collection
  4. ./lib/red5hx/java/util/Queue.hx:6: lines 6-20 : Void -> java.util.Queue.E should be arg0 : Dynamic -> Bool
  5. //--------------------------------------------------------------------------
  6. package java.util;
  7.  
  8. import java.util.Collection;
  9.  
  10. @:native("java.util.Queue")
  11. extern interface Queue<E : (Dynamic)> implements Collection<E>
  12. {
  13.     function add(arg0:E):Bool;
  14.  
  15.     function element():E;
  16.  
  17.     function offer(arg0:E):Bool;
  18.  
  19.     function peek():E;
  20.  
  21.     function poll():E;
  22.  
  23.     function remove():E;
  24.  
  25. }
  26. //--------------------------------------------------------------------------
  27. package java.util;
  28.  
  29. import java.NativeArray;
  30. import java.lang.Iterable;
  31. import java.util.Iterator;
  32.  
  33. @:native("java.util.Collection")
  34. extern interface Collection<E : (Dynamic)> implements java.lang.Iterable<E>
  35. {
  36.     function add(arg0:E):Bool;
  37.  
  38.     function addAll(arg0:Collection<E>):Bool;
  39.  
  40.     function clear():Void;
  41.  
  42.     function contains(arg0:Dynamic):Bool;
  43.  
  44.     function containsAll(arg0:Collection<Dynamic>):Bool;
  45.  
  46.     function equals(arg0:Dynamic):Bool;
  47.  
  48.     function hashCode():Int;
  49.  
  50.     function isEmpty():Bool;
  51.  
  52.     function iterator():java.util.Iterator<E>;
  53.  
  54.     function remove(arg0:Dynamic):Bool;
  55.  
  56.     function removeAll(arg0:Collection<Dynamic>):Bool;
  57.  
  58.     function retainAll(arg0:Collection<Dynamic>):Bool;
  59.  
  60.     function size():Int;
  61.  
  62.     @:overload(function toArray<T>(arg0:NativeArray<T>):NativeArray<T> {})
  63.     function toArray():NativeArray<Dynamic>;
  64.  
  65. }
  66.  
  67.  
  68.  
  69. //---------------------------------------------------------------------------
  70. package java.util.concurrent;
  71.  
  72. import java.util.Collection;
  73. import java.util.Queue;
  74. import java.util.concurrent.TimeUnit;
  75.  
  76. @:native("java.util.concurrent.BlockingQueue")
  77. extern interface BlockingQueue<E : (Dynamic)> implements Queue<E>
  78. {
  79.     function add(arg0:E):Bool;
  80.  
  81.     function contains(arg0:Dynamic):Bool;
  82.  
  83.     @:overload(function drainTo(arg0:Collection<Dynamic>, arg1:Int):Int {})
  84.     function drainTo(arg0:Collection<Dynamic>):Int;
  85.  
  86.     @:overload(function offer(arg0:E, arg1:haxe.Int64, arg2:TimeUnit):Bool {})
  87.     function offer(arg0:E):Bool;
  88.  
  89.     @:overload(function poll(arg0:haxe.Int64, arg1:TimeUnit):E {})
  90.     function poll():E;
  91.  
  92.     function put(arg0:E):Void;
  93.  
  94.     function remainingCapacity():Int;
  95.  
  96.     function remove():E;
  97.  
  98.     function take():E;
  99.  
  100. }
Advertisement
Add Comment
Please, Sign In to add comment