> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VariableLinks

public class [VariableLinks](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links.md) : [PHXCOMObject](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object.md), [Iterator](https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html)\<[E](https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html)>

A collection of variables

#### Author

Sharp, 11/2002

## Functions

| Name | Summary |
| - | - |
| [disableGC](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/disable-g-c) | public [disableGC](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/disable-g-c)(gc: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)) If true, prevents releaseObjects from doing anything. |
| [forEachRemaining](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variables.md) | public [forEachRemaining](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variables.md)(action: [Consumer](https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html)\<in [E](https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html)>) |
| [getCount](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/get-count) | public [getCount](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/get-count)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) gets the number of links in this collection |
| [getItem](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/get-item) | public [getItem](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/get-item)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [VariableLink](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-link.md) public [getItem](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/get-item)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [VariableLink](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-link.md) Gets a particular element of this collection |
| [hasNext](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/has-next) | public [hasNext](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/has-next)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) Returns true if next() can return another valid variable from this iterator |
| [next](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/next) | public [next](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/next)(): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) Returns the next available object from this collection. |
| [release](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/release) | public [release](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/release)() Releases the COM reference to ModelCenter for this object. |
| [releaseObjects](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/release-objects) | public [releaseObjects](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/release-objects)() This function attempts to release any COM resources left behind from objects which have been finalized but release() was never called on them. |
| [remove](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/remove) | public [remove](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/remove)() Unimplemented. |
| [resetIterator](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/reset-iterator) | public [resetIterator](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variable-links/reset-iterator)() Resets the iterator with respect to the hasNext() and next() functions. |
| [setReferenceDebugMode](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/set-reference-debug-mode) | public [setReferenceDebugMode](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter.util/-p-h-x-c-o-m-object/set-reference-debug-mode)(on: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)) When set to true, the system will keep a list of active COM objects that are allocated but not yet released since this method was invoked. |
