Available on java
@:overloadpoll():Reference<T>
@:overload@:throws("java.lang.InterruptedException")remove():Reference<T>
@:overload@:throws("java.lang.InterruptedException")@:throws("java.lang.IllegalArgumentException")remove(param1:Int64):Reference<T>