    

 ## On this page

  

 

 # next

 Last update: 16.07.2025 

public [next](next.md)(): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)

Returns the next available object from this collection.

#### Return

The next available variable. Will be a subclass of com.phoenix\_int.ModelCenter.Variable

#### Throws

[NoSuchElementException](https://docs.oracle.com/javase/8/docs/api/java/util/NoSuchElementException.html)Thrown if there are any problems accessing the variable.