Click or drag to resize
IndexMaxPQKeyContains Method
Is i an index on this priority queue?

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool Contains(
	int i
)

Parameters

i
Type: SystemInt32
an index

Return Value

Type: Boolean
true if i is an index on this priority queue;
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless (0 <= i < maxN)
See Also