Table of Contents

Interface IBlockingQueue<E>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IBlockingQueue<E> : IQueue<E>, ICollection<E>

Type Parameters

E
Inherited Members

Methods

Add(E)

bool Add(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

Contains(object)

bool Contains(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

DrainTo<Arg0objectSuperE>(Collection<Arg0objectSuperE>)

int DrainTo<Arg0objectSuperE>(Collection<Arg0objectSuperE> arg0) where Arg0objectSuperE : E

Parameters

arg0 Collection<Arg0objectSuperE>

Collection

Returns

int

int

Type Parameters

Arg0objectSuperE

E

DrainTo<Arg0objectSuperE>(Collection<Arg0objectSuperE>, int)

int DrainTo<Arg0objectSuperE>(Collection<Arg0objectSuperE> arg0, int arg1) where Arg0objectSuperE : E

Parameters

arg0 Collection<Arg0objectSuperE>

Collection

arg1 int

int

Returns

int

int

Type Parameters

Arg0objectSuperE

E

Offer(E)

bool Offer(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

Offer(E, long, TimeUnit)

bool Offer(E arg0, long arg1, TimeUnit arg2)

Parameters

arg0 E

E

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

bool

bool

Exceptions

InterruptedException

Poll(long, TimeUnit)

E Poll(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

E

E

Exceptions

InterruptedException

Put(E)

void Put(E arg0)

Parameters

arg0 E

E

Exceptions

InterruptedException

RemainingCapacity()

int RemainingCapacity()

Returns

int

int

Remove(object)

bool Remove(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

Take()

E Take()

Returns

E

E

Exceptions

InterruptedException