Table of Contents

Class BlockingDeque<E>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class BlockingDeque<E> : JVMBridgeBase<BlockingDeque<E>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IBlockingDeque<E>

Type Parameters

E
Inheritance
JVMBridgeBase
JVMBridgeBase<BlockingDeque<E>>
BlockingDeque<E>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<BlockingDeque<E>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<BlockingDeque<E>>.IsAssignableFrom<T>()
JVMBridgeBase<BlockingDeque<E>>.Execute<T>(params T[])
JVMBridgeBase<BlockingDeque<E>>.DynBridgeClazz
JVMBridgeBase<BlockingDeque<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

BlockingDeque()

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

[Obsolete("BlockingDeque class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public BlockingDeque()

BlockingDeque(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

[Obsolete("BlockingDeque class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public BlockingDeque(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

Methods

Add(E)

public bool Add(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

AddFirst(E)

public void AddFirst(E arg0)

Parameters

arg0 E

E

AddLast(E)

public void AddLast(E arg0)

Parameters

arg0 E

E

Contains(object)

public bool Contains(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

Element()

public E Element()

Returns

E

E

Iterator()

public Iterator<E> Iterator()

Returns

Iterator<E>

Iterator

Offer(E)

public bool Offer(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

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

Peek()

public E Peek()

Returns

E

E

Poll()

public E Poll()

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

public E PollFirst(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

E

E

Exceptions

InterruptedException

PollLast(long, TimeUnit)

public E PollLast(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

E

E

Exceptions

InterruptedException

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

Remove()

public E Remove()

Returns

E

E

Remove(object)

public bool Remove(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

RemoveFirstOccurrence(object)

public bool RemoveFirstOccurrence(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

RemoveLastOccurrence(object)

public bool RemoveLastOccurrence(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

Size()

public int Size()

Returns

int

int

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 BlockingDeque(BlockingDeque<E>)

Converter from BlockingDeque<E> to BlockingDeque

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

Parameters

t BlockingDeque<E>

Returns

BlockingDeque

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

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

Parameters

t BlockingDeque<E>

Returns

BlockingQueue<E>

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

Converter from BlockingDeque<E> to Deque<E>

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

Parameters

t BlockingDeque<E>

Returns

Deque<E>