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
JVMBridgeBase
JVMBridgeBase<Iterable<E>>
JVMBridgeBaseEnumerable<Iterable<E>>
JVMBridgeBaseEnumerable<Iterable<E>, E>
LinkedBlockingDeque<E>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Inherited Members
JVMBridgeBaseEnumerable<Iterable<E>, E>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<E>>.GetEnumerator()
JVMBridgeBase<Iterable<E>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<E>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<E>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<E>>.DynBridgeClazz
JVMBridgeBase<Iterable<E>>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
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

public override string BridgeClassName { get; }

Property Value

string

First

public E First { get; }

Property Value

E

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

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