Table of Contents

Class LinkedBlockingDeque<E>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class LinkedBlockingDeque<E> : AbstractQueue<E>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<E>, IEnumerable, IAsyncEnumerable<E>, IIterable<E>, ICollection<E>

Type Parameters

E
Inheritance
LinkedBlockingDeque<E>
Implements
Inherited Members
Extension Methods

Constructors

LinkedBlockingDeque()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public LinkedBlockingDeque()

LinkedBlockingDeque(Collection<E>)

public LinkedBlockingDeque(Collection<E> arg0)

Parameters

arg0 Collection<E>

Collection

LinkedBlockingDeque(int)

public LinkedBlockingDeque(int arg0)

Parameters

arg0 int

int

LinkedBlockingDeque(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public LinkedBlockingDeque(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

First

public E First { get; }

Property Value

E

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Last

public E Last { get; }

Property Value

E

Methods

AddFirst(E)

public void AddFirst(E arg0)

Parameters

arg0 E

E

AddLast(E)

public void AddLast(E arg0)

Parameters

arg0 E

E

DescendingIterator()

public Iterator<E> DescendingIterator()

Returns

Iterator<E>

Iterator

DrainTo<Arg0objectSuperE>(Collection<Arg0objectSuperE>)

public 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)

public 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, long, TimeUnit)

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

Parameters

arg0 E

E

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

bool

bool

Exceptions

InterruptedException

OfferFirst(E)

public bool OfferFirst(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

OfferFirst(E, long, TimeUnit)

public bool OfferFirst(E arg0, long arg1, TimeUnit arg2)

Parameters

arg0 E

E

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

bool

bool

Exceptions

InterruptedException

OfferLast(E)

public bool OfferLast(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

OfferLast(E, long, TimeUnit)

public bool OfferLast(E arg0, long arg1, TimeUnit arg2)

Parameters

arg0 E

E

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

bool

bool

Exceptions

InterruptedException

PeekFirst()

public E PeekFirst()

Returns

E

E

PeekLast()

public E PeekLast()

Returns

E

E

Poll(long, TimeUnit)

public E Poll(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

E

E

Exceptions

InterruptedException

PollFirst()

public E PollFirst()

Returns

E

E

PollFirst(long, TimeUnit)

public E PollFirst(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

E

E

Exceptions

InterruptedException

PollLast()

public E PollLast()

Returns

E

E

PollLast(long, TimeUnit)

public E PollLast(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

E

E

Exceptions

InterruptedException

Pop()

public E Pop()

Returns

E

E

Push(E)

public void Push(E arg0)

Parameters

arg0 E

E

Put(E)

public void Put(E arg0)

Parameters

arg0 E

E

Exceptions

InterruptedException

PutFirst(E)

public void PutFirst(E arg0)

Parameters

arg0 E

E

Exceptions

InterruptedException

PutLast(E)

public void PutLast(E arg0)

Parameters

arg0 E

E

Exceptions

InterruptedException

RemainingCapacity()

public int RemainingCapacity()

Returns

int

int

RemoveFirst()

public E RemoveFirst()

Returns

E

E

RemoveFirstOccurrence(object)

public bool RemoveFirstOccurrence(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

RemoveLast()

public E RemoveLast()

Returns

E

E

RemoveLastOccurrence(object)

public bool RemoveLastOccurrence(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

Take()

public E Take()

Returns

E

E

Exceptions

InterruptedException

TakeFirst()

public E TakeFirst()

Returns

E

E

Exceptions

InterruptedException

TakeLast()

public E TakeLast()

Returns

E

E

Exceptions

InterruptedException

Operators

implicit operator Serializable(LinkedBlockingDeque<E>)

public static implicit operator Serializable(LinkedBlockingDeque<E> t)

Parameters

t LinkedBlockingDeque<E>

Returns

Serializable

implicit operator BlockingDeque<E>(LinkedBlockingDeque<E>)

public static implicit operator BlockingDeque<E>(LinkedBlockingDeque<E> t)

Parameters

t LinkedBlockingDeque<E>

Returns

BlockingDeque<E>

implicit operator LinkedBlockingDeque(LinkedBlockingDeque<E>)

public static implicit operator LinkedBlockingDeque(LinkedBlockingDeque<E> t)

Parameters

t LinkedBlockingDeque<E>

Returns

LinkedBlockingDeque