jan_flanders

Untitled

Apr 29th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.00 KB | None | 0 0
  1. ./lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-30 : Field poll has different type than in java.util.Queue
  2. ./lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-30 : arg0 : haxe.Int64 -> arg1 : java.util.concurrent.TimeUnit -> java.util.concurrent.BlockingQueue.E should be Void -> java.util.concurrent.BlockingQueue.E
  3. ./lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-30 : Field remove has different type than in java.util.Queue
  4. ./lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-30 : arg0 : Dynamic -> Bool should be Void -> java.util.concurrent.BlockingQueue.E
  5. ./lib/red5hx/java/util/Queue.hx:6: lines 6-20 : Field remove has different type than in java.util.Collection
  6. ./lib/red5hx/java/util/Queue.hx:6: lines 6-20 : Void -> java.util.Queue.E should be arg0 : Dynamic -> Bool
  7. //--------------------------------------------------------------------------
  8. package java.util;
  9.  
  10. import java.util.Collection;
  11.  
  12. @:native("java.util.Queue")
  13. extern interface Queue<E : (Dynamic)> implements Collection<E>
  14. {
  15.     function add(arg0:E):Bool;
  16.  
  17.     function element():E;
  18.  
  19.     function offer(arg0:E):Bool;
  20.  
  21.     function peek():E;
  22.  
  23.     function poll():E;
  24.  
  25.     function remove():E;
  26.  
  27. }
  28.  
  29. //---------------------------------------------------------------------------
  30. package java.util.concurrent;
  31.  
  32. import java.util.Collection;
  33. import java.util.Queue;
  34. import java.util.concurrent.TimeUnit;
  35.  
  36. @:native("java.util.concurrent.BlockingQueue")
  37. extern interface BlockingQueue<E : (Dynamic)> implements Queue<E>
  38. {
  39.     function add(arg0:E):Bool;
  40.  
  41.     function contains(arg0:Dynamic):Bool;
  42.  
  43.     @:overload(function drainTo(arg0:Collection<Dynamic>, arg1:Int):Int {})
  44.     function drainTo(arg0:Collection<Dynamic>):Int;
  45.  
  46.     @:overload(function offer(arg0:E, arg1:haxe.Int64, arg2:TimeUnit):Bool {})
  47.     function offer(arg0:E):Bool;
  48.  
  49.     function poll(arg0:haxe.Int64, arg1:TimeUnit):E;
  50.  
  51.     function put(arg0:E):Void;
  52.  
  53.     function remainingCapacity():Int;
  54.  
  55.     function remove(arg0:Dynamic):Bool;
  56.  
  57.     function take():E;
  58.  
  59. }
Advertisement
Add Comment
Please, Sign In to add comment