Click or drag to resize

ContainerHelperNewDeque Method (Type, Object)

Creates a new Deque of the given value type, initialized with the content of the old Deque (clones the old Deque)

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static IDeque NewDeque(
	Type valueType,
	Object oldDeque
)

Parameters

valueType
Type: SystemType
The value type of the Deque to be created
oldDeque
Type: SystemObject
The old Deque to be cloned

Return Value

Type: IDeque
The newly created Deque, containing the content of the old Deque, null if unsuccessfull
See Also