public class PriorityQueue_2<TElement extends IJCOBridgeReflected,TPriority extends IJCOBridgeReflected> extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.PriorityQueue`2
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Collections, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Collections
|
static java.lang.String |
className
Qualified class name: System.Collections.Generic.PriorityQueue`2
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PriorityQueue_2() |
PriorityQueue_2(IComparer_1 comparer) |
PriorityQueue_2(IEnumerable_1 items) |
PriorityQueue_2(IEnumerable_1 items,
IComparer_1 comparer) |
PriorityQueue_2(int initialCapacity) |
PriorityQueue_2(int initialCapacity,
IComparer_1 comparer) |
PriorityQueue_2(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PriorityQueue_2 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PriorityQueue_2, a cast assert is made to check if types are compatible. |
void |
Clear() |
TElement |
Dequeue() |
TElement |
DequeueEnqueue(TElement element,
TPriority priority) |
void |
Enqueue(TElement element,
TPriority priority) |
TElement |
EnqueueDequeue(TElement element,
TPriority priority) |
void |
EnqueueRange(IEnumerable_1 items) |
void |
EnqueueRange(IEnumerable_1 elements,
TPriority priority) |
int |
EnsureCapacity(int capacity) |
int |
getCapacity() |
IComparer_1 |
getComparer() |
int |
getCount() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
TElement |
Peek() |
boolean |
Remove(TElement element,
JCORefOut<TElement> removedElement,
JCORefOut<TPriority> priority,
IEqualityComparer_1 equalityComparer) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
TrimExcess() |
boolean |
TryDequeue(JCORefOut<TElement> element,
JCORefOut<TPriority> priority) |
boolean |
TryPeek(JCORefOut<TElement> element,
JCORefOut<TPriority> priority) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic PriorityQueue_2()
throws java.lang.Throwable
java.lang.Throwablepublic PriorityQueue_2(IComparer_1 comparer) throws java.lang.Throwable
java.lang.Throwablepublic PriorityQueue_2(IEnumerable_1 items) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public PriorityQueue_2(IEnumerable_1 items, IComparer_1 comparer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public PriorityQueue_2(int initialCapacity)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
public PriorityQueue_2(int initialCapacity,
IComparer_1 comparer)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public PriorityQueue_2(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static PriorityQueue_2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PriorityQueue_2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPriorityQueue_2 instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException
public TElement Dequeue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public TElement DequeueEnqueue(TElement element, TPriority priority) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void Enqueue(TElement element, TPriority priority) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic TElement EnqueueDequeue(TElement element, TPriority priority) throws java.lang.Throwable
java.lang.Throwablepublic void EnqueueRange(IEnumerable_1 items) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void EnqueueRange(IEnumerable_1 elements, TPriority priority) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public int EnsureCapacity(int capacity)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public int getCapacity()
throws java.lang.Throwable
java.lang.Throwablepublic IComparer_1 getComparer() throws java.lang.Throwable
java.lang.Throwablepublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic TElement Peek() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public boolean Remove(TElement element, JCORefOut<TElement> removedElement, JCORefOut<TPriority> priority, IEqualityComparer_1 equalityComparer) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void TrimExcess()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic boolean TryDequeue(JCORefOut<TElement> element, JCORefOut<TPriority> priority) throws java.lang.Throwable
java.lang.Throwable