tuweni / org.apache.tuweni.toml / TomlArray / getLong

getLong

open fun getLong(index: Int): Long (source)

Get a long at a specified index.

Parameters

index - Int: The array index.

Exceptions

IndexOutOfBoundsException - If the index is out of bounds.

TomlInvalidTypeException - If the value is not a long.

Return
Long: The value.