Transition

Holds one transition from an Automaton. This is typically used temporarily when iterating through transitions by invoking Automaton.initTransition and .

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).

Link copied to clipboard
var dest: Int

Destination state.

Link copied to clipboard
var max: Int

Maximum accepted label (inclusive).

Link copied to clipboard
var min: Int

Minimum accepted label (inclusive).

Link copied to clipboard
var source: Int

Source state.

Link copied to clipboard

Remembers where we are in the iteration; init to -1 to provoke exception if nextTransition is called without first initTransition.

Functions

Link copied to clipboard
open override fun ramBytesUsed(): Long

Return the memory usage of this object in bytes. Negative values are illegal.

Link copied to clipboard
open override fun toString(): String